Skip to content

Commit cf2c1c6

Browse files
author
wlanboy
committed
extraEnv nach den bestehenden env-Einträgen (nindent 12)
extraVolumeMounts nach den bestehenden volumeMounts (nindent 12) extraVolumes nach den bestehenden volumes (nindent 8)
1 parent 8f83fd7 commit cf2c1c6

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

javahttpclient-chart/templates/deployment.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ spec:
2323
valueFrom:
2424
fieldRef:
2525
fieldPath: metadata.namespace
26+
{{- with .Values.extraEnv }}
27+
{{- toYaml . | nindent 12 }}
28+
{{- end }}
2629
ports:
2730
- containerPort: {{ .Values.service.targetPort }}
2831
volumeMounts:
@@ -31,6 +34,9 @@ spec:
3134
subPath: application.properties
3235
- name: tmp-volume
3336
mountPath: /tmp
37+
{{- with .Values.extraVolumeMounts }}
38+
{{- toYaml . | nindent 12 }}
39+
{{- end }}
3440
livenessProbe:
3541
httpGet:
3642
path: /actuator/health/liveness
@@ -48,4 +54,7 @@ spec:
4854
configMap:
4955
name: {{ .Values.deploymentname }}-config
5056
- name: tmp-volume
51-
emptyDir: {}
57+
emptyDir: {}
58+
{{- with .Values.extraVolumes }}
59+
{{- toYaml . | nindent 8 }}
60+
{{- end }}

javahttpclient-chart/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,7 @@ certManager:
3535
dnsNames:
3636
- javahttpclient.tp.lan
3737
- javahttpclient.gmk.lan
38+
39+
extraVolumeMounts: []
40+
extraVolumes: []
41+
extraEnv: []

0 commit comments

Comments
 (0)