Skip to content
Snippets Groups Projects
Unverified Commit 100caff8 authored by Georg Kunz's avatar Georg Kunz Committed by GitHub
Browse files

Merge pull request #1 from zalando-incubator/custom-env-improved

Examine custom environment sources when syncing.
parents 257e0fc0 4d85a62b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment