From 8fc1dba0a7a3760798058a9b3bf49bd299bdf3ae Mon Sep 17 00:00:00 2001 From: Robert Juzak Date: Mon, 15 Jul 2024 13:35:51 +0200 Subject: [PATCH] close #2 --- charts/kimai2/Chart.yaml | 2 +- charts/kimai2/README.md | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/charts/kimai2/Chart.yaml b/charts/kimai2/Chart.yaml index a47ddb5..c093e96 100644 --- a/charts/kimai2/Chart.yaml +++ b/charts/kimai2/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: kimai2 description: A Helm chart for Kubernetes type: application -version: 4.2.0 +version: 4.2.1 appVersion: "apache-2.18.0-prod" dependencies: diff --git a/charts/kimai2/README.md b/charts/kimai2/README.md index 4ef4356..ed31b54 100644 --- a/charts/kimai2/README.md +++ b/charts/kimai2/README.md @@ -322,6 +322,13 @@ helm install kimai -f values.yaml robjuz/kimai2 ## Configuration and installation details +### A note about database credentials +https://symfony.com/doc/6.4/doctrine.html#configuring-the-database + +> If the username, password, host or database name contain any character considered special in a URI (such as : / ? # [ ] @ ! $ & ' ( ) * + , ; =), you must encode them. See RFC 3986 for the full list of reserved characters or use the urlencode function to encode them. In this case you need to remove the resolve: prefix in config/packages/doctrine.yaml to avoid errors: url: '%env(DATABASE_URL)%' + +The underlying `dbtest.php` script does not support this, so **don't use special characters** + ### External database support You may want to have Kimai connect to an external database rather than installing one inside your cluster. Typical reasons for this are to use a managed database service, or to share a common database server for all your applications. To achieve this, the chart allows you to specify credentials for an external database with the [`externalDatabase` parameter](#database-parameters). You should also disable the MariaDB installation with the `mariadb.enabled` option. Here is an example: