blob: ab08c82fef5b9ff0946abcb16d89bc676b0de1ff [file] [log] [blame]
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +00001{{- if .Values.configOverrides }}
2apiVersion: v1
3kind: ConfigMap
4metadata:
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 Opasiak137d7cc2020-01-24 23:49:11 +010010 release: {{ include "common.release" . }}
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +000011 heritage: {{ .Release.Service }}
12data:
13{{ toYaml .Values.configOverrides | indent 2 }}
14{{- end }}
mahendrr8b20f772019-05-03 06:50:10 +000015---
16apiVersion: v1
17kind: ConfigMap
18metadata:
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 Opasiak137d7cc2020-01-24 23:49:11 +010024 release: {{ include "common.release" . }}
mahendrr8b20f772019-05-03 06:50:10 +000025 heritage: {{ .Release.Service }}
26data:
27{{ tpl (.Files.Glob "resources/config/docker-entrypoint.sh").AsConfig . | indent 2 }}