mirror of
https://github.com/bokysan/docker-postfix.git
synced 2025-09-10 08:25:38 +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
|
kind: Secret
|
||||||
type: kubernetes.io/tls
|
type: kubernetes.io/tls
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ $fullName }}-certs
|
name: {{ .Values.certs.name }}
|
||||||
labels:
|
labels:
|
||||||
{{- $labels | nindent 4 }}
|
{{- $labels | nindent 4 }}
|
||||||
annotations:
|
annotations:
|
||||||
|
|
|
@ -195,7 +195,7 @@ spec:
|
||||||
defaultMode: 0755
|
defaultMode: 0755
|
||||||
- name: certs
|
- name: certs
|
||||||
secret:
|
secret:
|
||||||
secretName: {{ $fullName }}-certs
|
secretName: {{ .Values.certs.name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
# Socket directories
|
# Socket directories
|
||||||
{{- if and .Values.persistence.enabled .Values.persistence.existingClaim }}
|
{{- if and .Values.persistence.enabled .Values.persistence.existingClaim }}
|
||||||
|
|
|
@ -129,6 +129,8 @@ certs:
|
||||||
create: false
|
create: false
|
||||||
# Provide existing cert
|
# Provide existing cert
|
||||||
existing: false
|
existing: false
|
||||||
|
# Provide Cert Name
|
||||||
|
name: "smtp-relay-mail-certs"
|
||||||
|
|
||||||
# Define data which should be stored in a Secret
|
# Define data which should be stored in a Secret
|
||||||
# (and shared with the pod as environment variables)
|
# (and shared with the pod as environment variables)
|
||||||
|
|
Loading…
Add table
Reference in a new issue