0

I am trying to install a keycloak helm chart but would like to use an external data store like LDAP instead of the default Postgres db. Pls, is there a possibility and is how can I go about it ?

When I set the default Postgresql.enabled to false, I receive the following error.

helm install keycloak oci://registry-1.docker.io/bitnamicharts/keycloak --set postgresql.enabled=false
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /home/kube-user/.kube/config
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /home/kube-user/.kube/config
Pulled: registry-1.docker.io/bitnamicharts/keycloak:16.1.1
Digest: sha256:efaa12a0e3fb0e8fe32243c67cc8e24bf1854282d10c76c6d02ce0b5f0f1f02e
Error: INSTALLATION FAILED: execution error at (keycloak/templates/NOTES.txt:93:4):
VALUES VALIDATION:
**keycloak: database
    You disabled the PostgreSQL sub-chart but did not specify an external PostgreSQL host.
    Either deploy the PostgreSQL sub-chart (--set postgresql.enabled=true),
    or set a value for the external database host (--set externalDatabase.host=FOO)
    and set a value for the external database password (--set externalDatabase.password=BAR)
    or existing secret (--set externalDatabase.existingSecret=BAR)**
mpromonet
  • 11,326
  • 43
  • 62
  • 91

0 Answers0