mirror of https://github.com/containers/podman.git
Merge pull request #16698 from rhatdan/wait
Init containers should not be restarted
This commit is contained in:
commit
ecd33d0c8a
|
@ -639,7 +639,7 @@ func (ic *ContainerEngine) playKubePod(ctx context.Context, podName string, podY
|
||||||
PodInfraID: podInfraID,
|
PodInfraID: podInfraID,
|
||||||
PodName: podName,
|
PodName: podName,
|
||||||
PodSecurityContext: podYAML.Spec.SecurityContext,
|
PodSecurityContext: podYAML.Spec.SecurityContext,
|
||||||
RestartPolicy: ctrRestartPolicy,
|
RestartPolicy: define.RestartPolicyNo,
|
||||||
SeccompPaths: seccompPaths,
|
SeccompPaths: seccompPaths,
|
||||||
SecretsManager: secretsManager,
|
SecretsManager: secretsManager,
|
||||||
UserNSIsHost: p.Userns.IsHost(),
|
UserNSIsHost: p.Userns.IsHost(),
|
||||||
|
|
Loading…
Reference in New Issue