Skip to content

Commit

Permalink
Disable completed pod restart
Browse files Browse the repository at this point in the history
  • Loading branch information
joyrex2001 committed May 24, 2023
1 parent 7fc53c5 commit f61784e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/backend/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ func (in *instance) startContainer(tainr *types.Container) (DeployState, error)
}},
ServiceAccountName: tainr.GetServiceAccountName(),
SecurityContext: &seccontext,
RestartPolicy: corev1.RestartPolicyNever,
},
}

Expand Down

0 comments on commit f61784e

Please sign in to comment.