We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents afecd23 + d725e03 commit f15f424Copy full SHA for f15f424
helm/templates/job.yaml
@@ -55,6 +55,11 @@ spec:
55
args:
56
{{- toYaml . | nindent 12 }}
57
{{- end }}
58
+ # passing env variables
59
+ {{- with .Values.env }}
60
+ env:
61
+ {{- toYaml . | nindent 12 }}
62
+ {{- end }}
63
volumeMounts:
64
- name: work-files
65
mountPath: "{{.Values.image.workVolumePath}}"
helm/values.yaml
@@ -21,6 +21,11 @@ image:
21
# additional volumes to mount
22
additionalVolumes: []
23
24
+# environment variables
25
+#env:
26
+# - name: "MONGO_URI"
27
+# value: "mongodb://"
28
+env: []
29
30
timestamp: "0"
31
0 commit comments