Updated dryrun script * root level certificates

This commit is contained in:
Ariel Sosnovsky committed 2024-03-14 14:04:18 -04:00
1 parent 01e5d16d3f
commit 588c340bb2
2 files changed
+38 -3

No files matched your search

@@ -50,5 +50,31 @@ spec:
dnsNames:
- "*{{$prefix}}.{{ $.Values.global.rootSubDomain }}.{{ $.Values.global.domain }}"
{{ end }}
---
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: Issuer
commonName: '*.{{ $.Values.global.domain }}'
dnsNames:
- "*.{{ $.Values.global.domain }}"
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: cloudflare-wildcard.{{ $.Values.global.secondaryDomain }}
spec:
secretName: cloudflare-wildcard.{{ $.Values.global.secondaryDomain }}
issuerRef:
name: cloudflare
kind: Issuer
commonName: '*.{{ $.Values.global.secondaryDomain }}'
dnsNames:
- "*.{{ $.Values.global.secondaryDomain }}"
{{ end }}
{{ end }}