diff --git a/service/k8s/statefulset.go b/service/k8s/statefulset.go index 2eebc52c8..679993970 100644 --- a/service/k8s/statefulset.go +++ b/service/k8s/statefulset.go @@ -107,7 +107,7 @@ func (s *StatefulSetService) CreateOrUpdateStatefulSet(namespace string, statefu // namespace is our spec(https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#concurrency-control-and-consistency), // we will replace the current namespace state. statefulSet.ResourceVersion = storedStatefulSet.ResourceVersion - statefulSet.Annotations = util.MergeAnnotations(statefulSet.Annotations, storedStatefulSet.Annotations) + statefulSet.Annotations = util.MergeAnnotations(storedStatefulSet.Annotations, statefulSet.Annotations) return s.UpdateStatefulSet(namespace, statefulSet) }