Skip to content

Commit

Permalink
remove container env check from rollout healthy
Browse files Browse the repository at this point in the history
Signed-off-by: hzyuzhuoer <[email protected]>
  • Loading branch information
hzyuzhuoer committed Sep 14, 2024
1 parent 6854e7e commit 6f3fc63
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/workload/rollout/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f3fc63

Please sign in to comment.