blob: 5510986e549c50c2bd658d9a7dd71bbfe970f817 [file] [log] [blame]
Andreas Geisslercfd84342023-08-16 17:18:49 +02001{{- if not .Values.global.cassandra.useOperator }}
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 }}