Skip to content

Commit

Permalink
feat(instant-chart): add pod restartPolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
kimyvgy committed Nov 13, 2024
1 parent d78eb8e commit 7e22297
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/instant-chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,7 @@ spec:
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.restartPolicy }}
restartPolicy: {{ .Values.restartPolicy }}
{{- end }}
{{- end }}
4 changes: 4 additions & 0 deletions charts/instant-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ containers: []
##
initContainers: []

## Pod restart policy
##
restartPolicy: ""

## A list of volumes to be added to the pod
## E.g.
## volumes:
Expand Down

0 comments on commit 7e22297

Please sign in to comment.