mirror of
https://github.com/Thumbscrew/k8s-charts.git
synced 2025-01-18 17:45:43 +00:00
add mount for ConfigMap
This commit is contained in:
parent
a36699ad3e
commit
1251c66131
@ -35,6 +35,12 @@ spec:
|
||||
- name: http
|
||||
containerPort: {{ .Values.service.port }}
|
||||
protocol: TCP
|
||||
{{- if .Values.customConfig.enabled }}
|
||||
volumeMounts:
|
||||
- name: custom-config
|
||||
mountPath: /app/config.json
|
||||
subPath: config
|
||||
{{- end }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
@ -57,3 +63,9 @@ spec:
|
||||
tolerations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.customConfig.enabled }}
|
||||
volumes:
|
||||
- name: custom-config
|
||||
configMap:
|
||||
name: {{ include "cinny.fullname" . }}
|
||||
{{- end }}
|
||||
|
Loading…
Reference in New Issue
Block a user