allow change of cert secret name

This commit is contained in:
mrskul 2025-04-11 16:49:09 +10:00 committed by GitHub
parent 9fcd02f67c
commit 01c9b01b90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 2 deletions

View file

@ -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:

View file

@ -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 }}

View file

@ -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)