codecentric / helm-charts

A curated set of Helm charts brought to you by codecentric

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for external database?

buaydin opened this issue · comments

From the values.yaml I couldn't find HowI can integrate Postgresql Server on the specific host. It's not supported or am I missing something? I don't want to create postgresql pod or use H2 database. I have my own postgresql server that I want to integrate.

You can set this in valyes.yaml:

database: vendor: mariadb hostname: 192.168.X.X port: 3306 database: keycloak username: keycloak

There should be a way to pull the password for the DB from a secret/environment variable, I seem to have 2, probably from a previous version:

DB_PASSWORD
or
KC_DB_PASSWORD

hi @andrew-landsverk-win there is no database section in values.yaml. I'm confused.
In postgresql bitnami subchart it needs to be done like that I think;

postgresql:
enabled: false
host: Mypostgredbhost
postgresqlUsername: keycloak
postgresqlPassword: keycloak
postgresqlDatabase: keycloak

But it's not working for codecentric keycloak chart. It connects to h2 database.

Ohh, I was referring to the keycloakx chart, are you using the keycloak (non-x) chart? For keycloakX, the relevant section is here: https://github.com/codecentric/helm-charts/blob/master/charts/keycloakx/values.yaml#L389

This issue has been marked as stale because it has been open for 30 days with no activity. It will be automatically closed in 10 days if no further activity occurs.