Revert "Drop unnecessary secret moint in Keycloak container (#16013)" (#16617)

Signed-off-by: Alberto Otero Lorenzo <lorenzoa@vmware.com>
This commit is contained in:
Alberto Otero
2023-05-25 08:50:41 +02:00
committed by GitHub
parent 987a1733eb
commit 7e05f6a1bd

View File

@@ -195,6 +195,10 @@ spec:
- secretRef:
name: {{ include "common.tplvalues.render" (dict "value" .Values.extraEnvVarsSecret "context" $) }}
{{- end }}
{{- if and .Values.externalDatabase.existingSecret (not .Values.postgresql.enabled) }}
- secretRef:
name: {{ include "common.tplvalues.render" (dict "value" .Values.externalDatabase.existingSecret "context" $) }}
{{- end }}
{{- if .Values.resources }}
resources: {{- toYaml .Values.resources | nindent 12 }}
{{- end }}