You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Annotations to the Deployment and Statefulset `templace.spec.metadata` could be added by 3rd party tools.
Like `kubectl` rollout restart command. Operator must keep it as is, since it's not managed by it.
This commit adds `mergeAnnotations` function to it, in order to distingush managed by operator and 3rd party
annotations.
Related issue:
#1215
Signed-off-by: f41gh7 <[email protected]>
kubectl
restart command uses special annotation -kubectl.kubernetes.io/restartedAt
, which added to the spec.template.metadata:https://kubernetes.io/docs/reference/kubectl/generated/kubectl_rollout/kubectl_rollout_restart/
After recent changes to the annotations merge introduced after #1171
Operator ignores any changes to
spec.template.metadata
changed by 3-rd party clients.It'd be great to keep those annotations.
The text was updated successfully, but these errors were encountered: