From d9807cc6b35a3b8ffce9ce97bd3fb9891bfd93dd Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Fri, 18 Apr 2025 15:40:26 -0400 Subject: [PATCH] latest charts --- .../apps/ingress/templates/_helpers/certificate.tpl | 13 ------------- charts/apps/ingress/templates/clusterissuer.yaml | 3 +++ 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/charts/apps/ingress/templates/_helpers/certificate.tpl b/charts/apps/ingress/templates/_helpers/certificate.tpl index e1403f4..ab47bfb 100644 --- a/charts/apps/ingress/templates/_helpers/certificate.tpl +++ b/charts/apps/ingress/templates/_helpers/certificate.tpl @@ -12,17 +12,4 @@ spec: commonName: '*{{.prefix}}{{ .root }}.{{ .domain }}' dnsNames: - "*{{.prefix}}{{ .root }}.{{ .domain }}" ---- -apiVersion: cert-manager.io/v1 -kind: Certificate -metadata: - name: cloudflare-wildcard.{{ .domain }} -spec: - secretName: cloudflare-wildcard.{{ .domain }} - issuerRef: - name: cloudflare - kind: Issuer - commonName: '*.{{ .domain }}' - dnsNames: - - "*.{{ .domain }}" {{ end }} \ No newline at end of file diff --git a/charts/apps/ingress/templates/clusterissuer.yaml b/charts/apps/ingress/templates/clusterissuer.yaml index 2716e75..57166f0 100644 --- a/charts/apps/ingress/templates/clusterissuer.yaml +++ b/charts/apps/ingress/templates/clusterissuer.yaml @@ -39,6 +39,9 @@ spec: {{include "homelab.cert" (merge $.Values.global.dns.primary (dict "prefix" $prefix))}} {{include "homelab.cert" (merge $.Values.global.dns.secondary (dict "prefix" $prefix))}} {{ end }} + +{{include "homelab.cert" (merge $.Values.global.dns.primary (dict "prefix" ""))}} +{{include "homelab.cert" (merge $.Values.global.dns.secondary (dict "prefix" ""))}} --- apiVersion: cert-manager.io/v1 kind: Certificate