update secretName

This commit is contained in:
mrskul 2025-04-11 17:10:17 +10:00 committed by GitHub
parent b5078e78d3
commit 71bd0c69ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -79,7 +79,7 @@ configmap.reloader.stakater.com/reload: "{{ include "mail.fullname" . }}"
{{/*
Return the secret containing HTTPS/TLS certificates
*/}}
{{- define "tls.SecretName" -}}
{{- define "tls.secretName" -}}
{{- $secretName := .Values.certs.existingSecret -}}
{{- if $secretName -}}
{{- printf "%s" (tpl $secretName .) -}} # Use '.' for context, not '$'

View file

@ -195,7 +195,7 @@ spec:
defaultMode: 0755
- name: certs
secret:
secretName: {{ include "keycloak.tlsSecretName" . }}
secretName: {{ include "tls.secretName" . }}
{{- end }}
# Socket directories
{{- if and .Values.persistence.enabled .Values.persistence.existingClaim }}