Closed 11philip22 closed 1 month ago
dupe of https://github.com/ansible/awx-operator/issues/1770 see https://github.com/ansible/awx-operator/issues/1770#issuecomment-2031118430 for workaround
in next release you can use the postgres init container to initialize the PGDATA directory see https://github.com/ansible/awx-operator/pull/1805
ah thank you
Please confirm the following
Bug Summary
Hi, I am trying to install the awx operator on digital ocean kubernetes.
When I run
helm install -n awx --create-namespace my-awx-operator awx-operator/awx-operator
my postgres container fails to start with the errormkdir: cannot create directory '/var/lib/pgsql/data/userdata': Permission denied
.When I describe the postgres container I see that
PGDATA
is set to/var/lib/pgsql/data/pgdata
and not/var/lib/pgsql/data/userdata
How do i get this to work?AWX Operator version
ansible-operator: v1.34.0
AWX version
How can I see?
Kubernetes platform
kubernetes
Kubernetes/Platform version
1.29.1-do.0
Modifications
no
Steps to reproduce
Expected results
I expect my awx postgres container to be created.
Actual results
My database container throws this error
mkdir: cannot create directory '/var/lib/pgsql/data/userdata': Permission denied
Additional information
No response
Operator Logs
No response