Keycloak bitnami helm - issue connecting to db

1,108 views
Skip to first unread message

דודו דודו

unread,
Jun 19, 2023, 2:10:24 PM6/19/23
to Keycloak User
Hi, 
i'm trying to install Keycloak based on Betnami helm chart. I have set the following postgres values

postgresql:
enabled: true
auth:
postgresPassword: thisismypassword
username: bn_keycloak
password
thisismypassword
database: bitnami_keycloak
#existingSecret: ""
architecture: standalone


But i'm getting the following error in the Keycloak pod : FATAL: password authentication failed for user "bn_keycloak"



NIKHIL BHADANE

unread,
Jun 22, 2023, 3:41:11 AM6/22/23
to Keycloak User
have you check username of postgres which you provided is correct or not?

Bruno Romão

unread,
Jun 22, 2023, 9:56:18 AM6/22/23
to NIKHIL BHADANE, Keycloak User
Hi NIKHIL

This problem happens because the postgresql takes a long time to start and the default configuration values of livenessProbe and readinessProbe are not enough.
What you can is to override the default values of initialDelaySeconds in both probes like this:

    postgresql:
      primary:
        livenessProbe:
          initialDelaySeconds: 180
        readinessProbe:
          initialDelaySeconds: 180


--
You received this message because you are subscribed to the Google Groups "Keycloak User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/eea7a114-2518-4047-b04a-6ec9ad08224an%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages