Hello everyone,
I'm having some trouble using the keycloak operator installing on a simple Kubernetes Cluster.
Basically, what happens is that when I install a new Keycloak, the PostgresSQL is not able to run properly because it does not have permissions to create a new directory on /var/lib/pgsql/data/userdata
I had to do a lot of workarounds to make it work, and finally I succeded by configuring manually the security context as follows:
securityContext:
fsGroup: 26
runAsUser: 26
There is any possibility to set the security context via the operator? if not, can you please point me out what is the correct solution to apply?
Thanks,
Veronica