Andreas Geissler | cfd8434 | 2023-08-16 17:18:49 +0200 | [diff] [blame^] | 1 | {{- if not .Values.global.cassandra.useOperator }} |
Mahendra Raghuwanshi | f59d925 | 2019-02-20 06:54:46 +0000 | [diff] [blame] | 2 | {{- if .Values.configOverrides }} |
| 3 | apiVersion: v1 |
| 4 | kind: ConfigMap |
| 5 | metadata: |
| 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 Opasiak | 137d7cc | 2020-01-24 23:49:11 +0100 | [diff] [blame] | 11 | release: {{ include "common.release" . }} |
Mahendra Raghuwanshi | f59d925 | 2019-02-20 06:54:46 +0000 | [diff] [blame] | 12 | heritage: {{ .Release.Service }} |
| 13 | data: |
| 14 | {{ toYaml .Values.configOverrides | indent 2 }} |
| 15 | {{- end }} |
mahendrr | 8b20f77 | 2019-05-03 06:50:10 +0000 | [diff] [blame] | 16 | --- |
| 17 | apiVersion: v1 |
| 18 | kind: ConfigMap |
| 19 | metadata: |
| 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 Opasiak | 137d7cc | 2020-01-24 23:49:11 +0100 | [diff] [blame] | 25 | release: {{ include "common.release" . }} |
mahendrr | 8b20f77 | 2019-05-03 06:50:10 +0000 | [diff] [blame] | 26 | heritage: {{ .Release.Service }} |
| 27 | data: |
| 28 | {{ tpl (.Files.Glob "resources/config/docker-entrypoint.sh").AsConfig . | indent 2 }} |
dasarathi528024 | 65e8f78 | 2023-05-03 09:51:20 +0000 | [diff] [blame] | 29 | {{- end }} |