Skip to content

Commit

Permalink
adds configmapvolume to init container (#84)
Browse files Browse the repository at this point in the history
* adds configmapvolume to init container

* bump version
  • Loading branch information
whereismyjetpack authored Sep 11, 2024
1 parent f5e162d commit 453a478
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
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: 4.2.2
version: 4.2.3

maintainers:
- name: Dominic DePasquale
13 changes: 13 additions & 0 deletions charts/application-core/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,19 @@ spec:
{{- end }}
resources:
{{- toYaml .Values.initContainer.resources | nindent 12 }}
volumeMounts:
{{- range $volume := .Values.extraConfigMapVolumes }}
- mountPath: "{{ .mountPath }}"
name: "{{ .name }}"
{{- if eq .readOnly false }}
readOnly: false
{{- else }}
readOnly: true
{{- end }}
{{- if .subPath }}
subPath: "{{ .subPath }}"
{{- end }}
{{- end }}
terminationMessagePolicy: FallbackToLogsOnError
{{- end }}
containers:
Expand Down

0 comments on commit 453a478

Please sign in to comment.