Skip to content

Commit

Permalink
Merge pull request containers#16698 from rhatdan/wait
Browse files Browse the repository at this point in the history
Init containers should not be restarted
  • Loading branch information
openshift-merge-robot authored Dec 9, 2022
2 parents 859f40a + 10e020c commit ecd33d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/domain/infra/abi/play.go
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ func (ic *ContainerEngine) playKubePod(ctx context.Context, podName string, podY
PodInfraID: podInfraID,
PodName: podName,
PodSecurityContext: podYAML.Spec.SecurityContext,
RestartPolicy: ctrRestartPolicy,
RestartPolicy: define.RestartPolicyNo,
SeccompPaths: seccompPaths,
SecretsManager: secretsManager,
UserNSIsHost: p.Userns.IsHost(),
Expand Down

0 comments on commit ecd33d0

Please sign in to comment.