mirror of
https://github.com/containers/podman.git
synced 2025-06-26 12:56:45 +08:00
Merge pull request #16698 from rhatdan/wait
Init containers should not be restarted
This commit is contained in:
@ -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(),
|
||||
|
Reference in New Issue
Block a user