Skip to content

Commit 18586f3

Browse files
init container (#55)
* fix handling of args/commands * version bump
1 parent fde1adb commit 18586f3

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

charts/application-core/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.5.1
18+
version: 1.5.2
1919

2020
maintainers:
2121
- name: Dominic DePasquale

charts/application-core/templates/deployment.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,16 @@ spec:
4747
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
4848
imagePullPolicy: {{ .Values.image.pullPolicy }}
4949
{{- if .Values.initContainer.args }}
50-
args: {{ .Values.initContainer.args }}
50+
args:
51+
{{- range .Values.initContainer.args }}
52+
- {{ . }}
53+
{{- end }}
5154
{{- end }}
5255
{{- if .Values.initContainer.command }}
53-
command: {{ .Values.initContainer.command }}
56+
command:
57+
{{- range .Values.initContainer.command }}
58+
- {{ . }}
59+
{{- end }}
5460
{{- end }}
5561
{{- if or .Values.externalSecret.enabled .Values.configMap.enabled }}
5662
envFrom:

0 commit comments

Comments
 (0)