mirror of
https://github.com/containers/podman.git
synced 2025-06-26 21:07:02 +08:00
Init containers should not be restarted
This is causing podman to wait about 25 seconds before starting the primary container. Fixes: https://github.com/containers/podman/issues/16343 [NO NEW TESTS NEEDED] Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -620,7 +620,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(),
|
||||||
|
Reference in New Issue
Block a user