Postgresql operator and ldap root ca

Hi all!

I try to use the postgres-operator version 2.6.0 with PerconaPGCluster kind.
When I mount the LDAP root ca configmap to the /etc/postgres/ldap/ca.crt path of statefulset, the ldap login works.
But hot can I configure the PerconaPGCluster to mount this configmap?

Hi! I just want to let you know that the post has been seen and that it’s queued for investigation. We’ll get back to you as soon as we have investigate a potential solution.

I reported this issue to the gitlab: ldap auth not working via ldaps in verison 2.6.0 · Issue #1162 · percona/percona-postgresql-operator · GitHub
In the meantime, I found a workaround: I created a secret with ldap ca cert and I mounted with kyverno policy to the pod.

Hi @feca, unfortunately there’s no way to add new volumes into statefulsets as of v2.6.0. I created Jira to allow you to define new volumes.

You found a smart workaround which I hope won’t be necessary in the future.

1 Like