Please, answer some short questions which should help us to understand your problem / question better?
Which image of the operator are you using? v1.9.0
Where do you run it - cloud or metal? Kubernetes or OpenShift? EKS
Are you running Postgres Operator in production? yes
Type of issue? Bug/Feature
Some general remarks when posting a bug report:
Please, check the operator, pod (Patroni) and postgresql logs first. When copy-pasting many log lines please do it in a separate GitHub gist together with your Postgres CRD and configuration manifest.
If you feel this issue might be more related to the Spilo docker image or Patroni, consider opening issues in the respective repos.
Actual Issue Writeup
The Operator is refusing to update my statefulset because it claims there are new labels being introduced. That line comes from this code:
However, there's nothing here that indicates what, specifically, has changed, so I don't know how to correct the issue. It would be helpful to log what labels are new in this case.
Please, answer some short questions which should help us to understand your problem / question better?
Some general remarks when posting a bug report:
Actual Issue Writeup
The Operator is refusing to update my statefulset because it claims there are new labels being introduced. That line comes from this code:
https://github.com/zalando/postgres-operator/blob/c25dc57b9614df4a89e08c9c766b6f6ee64fb41f/pkg/cluster/cluster.go#L503-L514
However, there's nothing here that indicates what, specifically, has changed, so I don't know how to correct the issue. It would be helpful to log what labels are new in this case.