mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-03 21:14:26 +08:00
allow change of cert secret name
This commit is contained in:
parent
9fcd02f67c
commit
01c9b01b90
3 changed files with 4 additions and 2 deletions
|
@ -10,7 +10,7 @@ apiVersion: v1
|
|||
kind: Secret
|
||||
type: kubernetes.io/tls
|
||||
metadata:
|
||||
name: {{ $fullName }}-certs
|
||||
name: {{ .Values.certs.name }}
|
||||
labels:
|
||||
{{- $labels | nindent 4 }}
|
||||
annotations:
|
||||
|
|
|
@ -195,7 +195,7 @@ spec:
|
|||
defaultMode: 0755
|
||||
- name: certs
|
||||
secret:
|
||||
secretName: {{ $fullName }}-certs
|
||||
secretName: {{ .Values.certs.name }}
|
||||
{{- end }}
|
||||
# Socket directories
|
||||
{{- if and .Values.persistence.enabled .Values.persistence.existingClaim }}
|
||||
|
|
|
@ -129,6 +129,8 @@ certs:
|
|||
create: false
|
||||
# Provide existing cert
|
||||
existing: false
|
||||
# Provide Cert Name
|
||||
name: "smtp-relay-mail-certs"
|
||||
|
||||
# Define data which should be stored in a Secret
|
||||
# (and shared with the pod as environment variables)
|
||||
|
|
Loading…
Add table
Reference in a new issue