blob: 8f2b39e1a15792eb7d6ce9cb02ffcad66bfd8c1c [file] [log] [blame]
dasarathi52802465e8f782023-05-03 09:51:20 +00001{{- if not .Values.k8ssandraOperator.enabled }}
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +00002{{- if .Values.configOverrides }}
3apiVersion: v1
4kind: ConfigMap
5metadata:
6 name: {{ include "common.fullname" . }}-configOverrides
7 namespace: {{ include "common.namespace" . }}
8 labels:
9 app: {{ include "common.name" . }}
10 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
Krzysztof Opasiak137d7cc2020-01-24 23:49:11 +010011 release: {{ include "common.release" . }}
Mahendra Raghuwanshif59d9252019-02-20 06:54:46 +000012 heritage: {{ .Release.Service }}
13data:
14{{ toYaml .Values.configOverrides | indent 2 }}
15{{- end }}
mahendrr8b20f772019-05-03 06:50:10 +000016---
17apiVersion: v1
18kind: ConfigMap
19metadata:
20 name: {{ include "common.fullname" . }}-entrypoint
21 namespace: {{ include "common.namespace" . }}
22 labels:
23 app: {{ include "common.name" . }}
24 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
Krzysztof Opasiak137d7cc2020-01-24 23:49:11 +010025 release: {{ include "common.release" . }}
mahendrr8b20f772019-05-03 06:50:10 +000026 heritage: {{ .Release.Service }}
27data:
28{{ tpl (.Files.Glob "resources/config/docker-entrypoint.sh").AsConfig . | indent 2 }}
dasarathi52802465e8f782023-05-03 09:51:20 +000029{{- end }}