Closed ghost closed 3 months ago
This is a limitation of the operator.
See: https://cloudnative-pg.io/documentation/current/labels_annotations/
By default, no label or annotation defined in the cluster's metadata is inherited by the associated resources. To enable label/annotation inheritance, follow the instructions provided in Operator configuration.
Current Limitations Currently, CloudNativePG doesn't automatically propagate labels or annotations deletions. Therefore, when an annotation or label is removed from a cluster that was previously propagated to the underlying pods, the operator doesn't remove it on the associated resources.
Thanks a lot for your answer @itay-grudev :)
Add annotations to cluster like this :
No annotations are added to our cluster pods,
Is it the expected behavior? If yes how do we add annotations to our pods?
Thanks a lot in advance,
F.N.