diff --git a/pkg/workload/rollout/util.go b/pkg/workload/rollout/util.go index 19290a53f..2aef3246a 100644 --- a/pkg/workload/rollout/util.go +++ b/pkg/workload/rollout/util.go @@ -60,12 +60,6 @@ func assignContainers(containers []corev1.Container) []corev1.Container { Args: container.Args, WorkingDir: container.WorkingDir, } - for _, env := range container.Env { - ctr.Env = append(ctr.Env, corev1.EnvVar{ - Name: env.Name, - Value: env.Value, - }) - } ctrs = append(ctrs, ctr) } return ctrs