Skip to content

Commit

Permalink
init container (#55)
Browse files Browse the repository at this point in the history
* fix handling of args/commands

* version bump
  • Loading branch information
domdepasquale committed Sep 21, 2023
1 parent fde1adb commit 18586f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/application-core/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.5.1
version: 1.5.2

maintainers:
- name: Dominic DePasquale
10 changes: 8 additions & 2 deletions charts/application-core/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,16 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if .Values.initContainer.args }}
args: {{ .Values.initContainer.args }}
args:
{{- range .Values.initContainer.args }}
- {{ . }}
{{- end }}
{{- end }}
{{- if .Values.initContainer.command }}
command: {{ .Values.initContainer.command }}
command:
{{- range .Values.initContainer.command }}
- {{ . }}
{{- end }}
{{- end }}
{{- if or .Values.externalSecret.enabled .Values.configMap.enabled }}
envFrom:
Expand Down

0 comments on commit 18586f3

Please sign in to comment.