From cfeb60dc6d9079577d8439ba51e7de6106a4c887 Mon Sep 17 00:00:00 2001 From: Felix Kunde Date: Thu, 25 Feb 2021 11:58:31 +0100 Subject: [PATCH] uncomment updating annotations of statefulset --- pkg/cluster/sync.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/cluster/sync.go b/pkg/cluster/sync.go index 9bce4e0a7..4d4b4fe07 100644 --- a/pkg/cluster/sync.go +++ b/pkg/cluster/sync.go @@ -367,8 +367,7 @@ func (c *Cluster) syncStatefulSet() error { } } - // TODO why is this necessary? - // c.updateStatefulSetAnnotations(c.AnnotationsToPropagate(c.annotationsSet(c.Statefulset.Annotations))) + c.updateStatefulSetAnnotations(c.AnnotationsToPropagate(c.annotationsSet(c.Statefulset.Annotations))) if len(podsToRecreate) == 0 && !c.OpConfig.EnableLazySpiloUpgrade { // even if the desired and the running statefulsets match