blob: abb8a7e65f79aa55bed0d2a48ce090e75e8f718e [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 "+" "_" }}
10 release: {{ .Release.Name }}
11 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 "+" "_" }}
24 release: {{ .Release.Name }}
25 heritage: {{ .Release.Service }}
26data:
27{{ tpl (.Files.Glob "resources/config/docker-entrypoint.sh").AsConfig . | indent 2 }}