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
[release-0.13] fix: update logic to preserve k8s specific labels & annotations (#1616) (#1617)
* fix: update logic to preserve k8s specific labels & annotations (#1616)
* Fix update logic to preserve k8s specific labels & annotations
Operator overwrites k8s added labels or annotations. This sometimes
results into unexpected behaviour. Eg. A kubectl rollout restart on deployment
adds an annotation "kubectl.kubernetes.io/restartedAt" with timestamp.
However operator detects this as a config drift and removes the annotations
resulting into k8s terminating the rollout due to change in config. This commit
fixes the issue by preserving such annotations & labels added onto live object
during comparison.
Signed-off-by: Siddhesh Ghadi <[email protected]>
* Fix lint
Signed-off-by: Siddhesh Ghadi <[email protected]>
---------
Signed-off-by: Siddhesh Ghadi <[email protected]>
0 commit comments