Mahendra Raghuwanshi | f59d925 | 2019-02-20 06:54:46 +0000 | [diff] [blame] | 1 | {{- if .Values.configOverrides }} |
| 2 | apiVersion: v1 |
| 3 | kind: ConfigMap |
| 4 | metadata: |
| 5 | name: {{ include "common.fullname" . }}-configOverrides |
| 6 | namespace: {{ include "common.namespace" . }} |
| 7 | labels: |
| 8 | app: {{ include "common.name" . }} |
| 9 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
Krzysztof Opasiak | 137d7cc | 2020-01-24 23:49:11 +0100 | [diff] [blame] | 10 | release: {{ include "common.release" . }} |
Mahendra Raghuwanshi | f59d925 | 2019-02-20 06:54:46 +0000 | [diff] [blame] | 11 | heritage: {{ .Release.Service }} |
| 12 | data: |
| 13 | {{ toYaml .Values.configOverrides | indent 2 }} |
| 14 | {{- end }} |
mahendrr | 8b20f77 | 2019-05-03 06:50:10 +0000 | [diff] [blame] | 15 | --- |
| 16 | apiVersion: v1 |
| 17 | kind: ConfigMap |
| 18 | metadata: |
| 19 | name: {{ include "common.fullname" . }}-entrypoint |
| 20 | namespace: {{ include "common.namespace" . }} |
| 21 | labels: |
| 22 | app: {{ include "common.name" . }} |
| 23 | chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
Krzysztof Opasiak | 137d7cc | 2020-01-24 23:49:11 +0100 | [diff] [blame] | 24 | release: {{ include "common.release" . }} |
mahendrr | 8b20f77 | 2019-05-03 06:50:10 +0000 | [diff] [blame] | 25 | heritage: {{ .Release.Service }} |
| 26 | data: |
| 27 | {{ tpl (.Files.Glob "resources/config/docker-entrypoint.sh").AsConfig . | indent 2 }} |