mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-05 05:54:51 +08:00
update secretName
This commit is contained in:
parent
b5078e78d3
commit
71bd0c69ec
2 changed files with 2 additions and 2 deletions
|
@ -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 '$'
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Reference in a new issue