mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-08 15:34:46 +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
|
Return the secret containing HTTPS/TLS certificates
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "tls.SecretName" -}}
|
{{- define "tls.secretName" -}}
|
||||||
{{- $secretName := .Values.certs.existingSecret -}}
|
{{- $secretName := .Values.certs.existingSecret -}}
|
||||||
{{- if $secretName -}}
|
{{- if $secretName -}}
|
||||||
{{- printf "%s" (tpl $secretName .) -}} # Use '.' for context, not '$'
|
{{- printf "%s" (tpl $secretName .) -}} # Use '.' for context, not '$'
|
||||||
|
|
|
@ -195,7 +195,7 @@ spec:
|
||||||
defaultMode: 0755
|
defaultMode: 0755
|
||||||
- name: certs
|
- name: certs
|
||||||
secret:
|
secret:
|
||||||
secretName: {{ include "keycloak.tlsSecretName" . }}
|
secretName: {{ include "tls.secretName" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
# Socket directories
|
# Socket directories
|
||||||
{{- if and .Values.persistence.enabled .Values.persistence.existingClaim }}
|
{{- if and .Values.persistence.enabled .Values.persistence.existingClaim }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue