We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8d9c75 commit 55dc12eCopy full SHA for 55dc12e
pkg/cluster/cluster.go
@@ -375,6 +375,10 @@ func (c *Cluster) compareStatefulSetWith(statefulSet *v1beta1.StatefulSet) *comp
375
needsRollUpdate = true
376
reasons = append(reasons, "new statefulset's container environment doesn't match the current one")
377
}
378
+ if !reflect.DeepEqual(container1.EnvFrom, container2.EnvFrom) {
379
+ needsRollUpdate = true
380
+ reasons = append(reasons, "new statefulset's container environment sources doesn't match the current one")
381
+ }
382
383
if needsRollUpdate || needsReplace {
384
match = false
0 commit comments