diff --git a/pkg/cluster/cluster.go b/pkg/cluster/cluster.go index e7160ff014910ebcd2fa45e099af19463413735c..f9fda41c017c4453e78aace01c20714292a4bf3d 100644 --- a/pkg/cluster/cluster.go +++ b/pkg/cluster/cluster.go @@ -368,6 +368,10 @@ func (c *Cluster) compareStatefulSetWith(statefulSet *v1beta1.StatefulSet) *comp needsRollUpdate = true reasons = append(reasons, "new statefulset's container environment doesn't match the current one") } + if !reflect.DeepEqual(container1.EnvFrom, container2.EnvFrom) { + needsRollUpdate = true + reasons = append(reasons, "new statefulset's container environment sources don't match the current one") + } if needsRollUpdate || needsReplace { match = false