Skip to content

Commit

Permalink
Merge pull request #2 from OffchainLabs/at/nitro-initcointainer
Browse files Browse the repository at this point in the history
Add initcontainer template for nitro
  • Loading branch information
a-thomas-22 authored Jan 25, 2024
2 parents e1f756c + d417d45 commit 94c53f3
Show file tree
Hide file tree
Showing 3 changed files with 5 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.1.9
version: 0.1.10

appVersion: "v2.2.2-8f33fea"
3 changes: 3 additions & 0 deletions charts/nitro/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,6 @@ nitro args
{{- $customArgs | compact | toStrings | toYaml -}}

{{- end -}}

{{- define "nitro.initContainers" -}}
{{- end }}
1 change: 1 addition & 0 deletions charts/nitro/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ spec:
{{- if .Values.initContainers }}
{{- toYaml .Values.initContainers | nindent 8 }}
{{- end }}
{{- include "nitro.initContainers" . | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
securityContext:
Expand Down

0 comments on commit 94c53f3

Please sign in to comment.