Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operator not creating secrets in secretNamespace #2873

Open
0xcd0e opened this issue Mar 7, 2025 · 0 comments
Open

Operator not creating secrets in secretNamespace #2873

0xcd0e opened this issue Mar 7, 2025 · 0 comments
Labels

Comments

@0xcd0e
Copy link

0xcd0e commented Mar 7, 2025

  • Which image of the operator are you using? ghcr.io/zalando/postgres-operator:v1.14.0
  • Where do you run it - cloud or metal? Kubernetes or OpenShift? k3s
  • Are you running Postgres Operator in production? yes
  • Type of issue? Bug report

I am trying to create a cluster and have it write the LOGIN credentials to another namespace. I have enabled enable_cross_namespace_secret and the operator logs are claiming they are creating the secret in another namespace, but the secret is never created. after removing secretNamespace from preparedDatabases, the secret gets created in the operator NS.

pgdb.yaml: https://gist.github.com/0xcd0e/0b8385337bed320bedc2b8d6572c6244
values.yaml: https://gist.github.com/0xcd0e/fe994fc61fab70cb79f61f93467a19b9
logs.txt: https://gist.github.com/0xcd0e/dcdd4828065e360dd75ac23667ffaf19

@FxKu FxKu added the bug label Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants