From f61784edacadf4a7604c5998d6ec15ed0d7dfa93 Mon Sep 17 00:00:00 2001 From: Vincent van Dam Date: Wed, 24 May 2023 12:03:18 +0200 Subject: [PATCH] Disable completed pod restart --- internal/backend/deploy.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/backend/deploy.go b/internal/backend/deploy.go index 342cf55..aeb98b1 100644 --- a/internal/backend/deploy.go +++ b/internal/backend/deploy.go @@ -85,6 +85,7 @@ func (in *instance) startContainer(tainr *types.Container) (DeployState, error) }}, ServiceAccountName: tainr.GetServiceAccountName(), SecurityContext: &seccontext, + RestartPolicy: corev1.RestartPolicyNever, }, }