Skip to content

Commit c8dd8dc

Browse files
Merge pull request #30 from DataKitchen/helm-update
Helm: Add extra volumes to job yaml
2 parents 33983dc + a963485 commit c8dd8dc

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

deploy/charts/testgen-app/Chart.yaml

+1-1
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: 0.1.0
18+
version: 0.1.1
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

deploy/charts/testgen-app/templates/job.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,15 @@ spec:
4040
env:
4141
{{- include "testgen.environment" $ | nindent 12 }}
4242
{{- include "testgen.hookEnvironment" $ | nindent 12 }}
43+
{{- with .Values.extraVolumeMounts }}
44+
volumeMounts:
45+
{{ toYaml . | nindent 12 }}
46+
{{- end }}
4347
command: {{ toJson .command }}
48+
{{- with .Values.extraVolumes }}
49+
volumes:
50+
{{ toYaml . | nindent 8 }}
51+
{{- end }}
4452
{{- with $.Values.nodeSelector }}
4553
nodeSelector:
4654
{{- toYaml . | nindent 8 }}

0 commit comments

Comments
 (0)