configmap.yaml 307 Bytes
Newer Older
Mohammed Ismail's avatar
Mohammed Ismail committed
1
2
3
4
5
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ .Chart.Name }}-configmap
data:
6
7
  {{- range $key, $val := .Values.config }}
  {{ $key }}: {{ $val | quote }}
8
9
10
11
12
13
14
15
  {{- end }}
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: health-cm
data:
  {{ (.Files.Glob "scripts/live-ready.sh").AsConfig | indent 2 }}