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
@@ -101,16 +104,11 @@ func (s *StatefulSetService) CreateOrUpdateStatefulSet(namespace string, statefu
101
104
iferr!=nil {
102
105
// If no resource we need to create.
103
106
iferrors.IsNotFound(err) {
107
+
addHashAnnotation(statefulSet)
104
108
returns.CreateStatefulSet(namespace, statefulSet)
105
109
}
106
110
returnerr
107
111
}
108
-
109
-
// Already exists, need to Update.
110
-
// Set the correct resource version to ensure we are on the latest version. This way the only valid
111
-
// namespace is our spec(https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#concurrency-control-and-consistency),
0 commit comments