zalando / postgres-operator

Postgres operator creates and manages PostgreSQL clusters running in Kubernetes
https://postgres-operator.readthedocs.io/
MIT License
4.37k stars 980 forks source link

Show Us What Didn't Match When Comparing StatefulSet Updates #2770

Open nategoethel opened 1 month ago

nategoethel commented 1 month ago

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.