Keycloak with postgres looses data on pod restart

Hi,
i’m using latest keycloak with a postgres database deployed in a kubernetes cluster.

So far so good.

But if i delete the keycloak pod every data (created realm or user) is gone.

Neither postgres nor keycloak got any errors on starting up or similar.

Do i have to activate storage of data in postgres database or what else went wrong, any clues ?

This is not an issue with Keycloak.

not very helpful
Indeed it is not an keycloak issue more an bitnami helm chart issue.
If postgres is used in the values from the chart the “KC_DB” Env Variable has also to be set to ‘postgres’