Skip to content

Commit

Permalink
Add restart policy nitro
Browse files Browse the repository at this point in the history
  • Loading branch information
a-thomas-22 committed Dec 5, 2024
1 parent 70390be commit cb5961b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/nitro/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ maintainers:

type: application

version: 0.6.20
version: 0.6.21

appVersion: "v3.2.1-d81324d"
3 changes: 3 additions & 0 deletions charts/nitro/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ spec:
claimName: {{ .name }}
{{- end }}
{{- end }}
{{- if .Values.restartPolicy }}
restartPolicy: {{ .Values.restartPolicy }}
{{- end }}
{{- if .Values.validator.enabled }}
nodeSelector:
{{- if .Values.nodeSelector }}
Expand Down
3 changes: 3 additions & 0 deletions charts/nitro/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ startupProbe:
updateStrategy:
type: RollingUpdate

## @param restartPolicy Restart policy
restartPolicy: Always

## @param env.splitvalidator.goMemLimit.enabled Enable setting the garbage cleanup limit in Go for the split validator
## @param env.splitvalidator.goMemLimit.multiplier The multiplier of available memory to use for the split validator
## @param env.nitro.goMemLimit.enabled Enable setting the garbage cleanup limit in Go for nitro
Expand Down

0 comments on commit cb5961b

Please sign in to comment.