wildcard cert

This commit is contained in:
ari committed 2023-05-03 02:52:29 +00:00
1 parent 3a15f64bbf
commit 8435d6f9c1
1 file changed
+13
@@ -35,6 +35,19 @@ spec:
apiTokenSecretRef:
name: {{ .Values.cloudflare.apiKeySecretName }}
key: {{ .Values.cloudflare.apiKeySecretKey }}
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: cloudflare-wildcard.{{ .Values.global.domain }}
spec:
secretName: cloudflare-wildcard.{{ .Values.global.domain }}
issuerRef:
name: cloudflare
kind: ClusterIssuer
commonName: '*.{{ .Values.global.domain }}'
dnsNames:
- "*.{{ .Values.global.domain }}"
{{ end }}
{{ end }}