Reference globals instead

This commit is contained in:
j 2025-07-10 12:23:43 +10:00
parent 152c521644
commit 0786edbead
2 changed files with 15 additions and 14 deletions

View file

@ -12,12 +12,12 @@ spec:
solvers:
- dns01:
rfc2136:
nameserver: {{ .Values.rfc2136.nameserver | quote }}
tsigKeyName: {{ .Values.rfc2136.tsigKeyName | quote }}
tsigAlgorithm: {{ .Values.rfc2136.tsigAlgorithm | quote }}
nameserver: {{ .Values.global.rfc2136.nameserver | quote }}
tsigKeyName: {{ .Values.global.rfc2136.tsigKeyName | quote }}
tsigAlgorithm: {{ .Values.global.rfc2136.tsigAlgorithm | quote }}
tsigSecretSecretRef:
name: {{ .Values.rfc2136.tsigSecretName | quote }}
key: {{ .Values.rfc2136.tsigSecretKey | quote }}
name: {{ .Values.global.rfc2136.tsigSecretName | quote }}
key: {{ .Values.global.rfc2136.tsigSecretKey | quote }}
---
apiVersion: cert-manager.io/v1
kind: Certificate
@ -29,12 +29,12 @@ spec:
secretTemplate:
annotations:
replicator.v1.mittwald.de/replication-allowed: "true"
replicator.v1.mittwald.de/replicate-to: "{{ .Values.replicatorNamespaces }}"
replicator.v1.mittwald.de/replicate-to: "{{ .Values.global.replicatorNamespaces }}"
issuerRef:
name: {{ .Values.global.issuerName }}
kind: ClusterIssuer
commonName: {{ .Values.global.domain | quote }}
dnsNames:
- {{ .Values.global.domain | quote }}
- "*."{{ .Values.global.domain | quote }}
- "*.{{ .Values.global.domain }}"