Fixing init scripts via configmap/secret (#12161) (#12170)

Signed-off-by: Michal Pěnka <michal@penka.name>

Signed-off-by: Michal Pěnka <michal@penka.name>
This commit is contained in:
Michal Pěnka
2022-08-30 11:31:45 +02:00
committed by GitHub
parent adff229073
commit 39239fcb03
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -23,4 +23,4 @@ name: rabbitmq
sources:
- https://github.com/bitnami/containers/tree/main/bitnami/rabbitmq
- https://www.rabbitmq.com
version: 10.3.1
version: 10.3.2
+2 -2
View File
@@ -382,12 +382,12 @@ spec:
{{- if .Values.initScriptsCM }}
- name: custom-init-scripts-cm
configMap:
name: {{ template ".Values.initScriptsCM" . }}
name: {{ tpl .Values.initScriptsCM . | quote }}
{{- end }}
{{- if .Values.initScriptsSecret }}
- name: custom-init-scripts-secret
secret:
secretName: {{ template ".Values.initScriptsSecret" . }}
secretName: {{ tpl .Values.initScriptsSecret . | quote }}
defaultMode: 0755
{{- end }}
{{- if .Values.extraVolumes }}