diff --git a/k8s/apps/ingresses/templates/_helpers/ingress.yaml b/k8s/apps/ingresses/templates/_helpers/ingress.yaml index f733e98..78e48f3 100644 --- a/k8s/apps/ingresses/templates/_helpers/ingress.yaml +++ b/k8s/apps/ingresses/templates/_helpers/ingress.yaml @@ -39,13 +39,12 @@ spec: {{ end }} property: tls.crt - secretKey: tls.key + remoteRef: {{ if hasSuffix ".core" .prefix }} key: cloudflare-wildcard.core.{{ .global.domain }} {{ else }} key: cloudflare-wildcard.{{ .global.domain }} {{ end }} - remoteRef: - key: cloudflare-wildcard.{{ .global.domain }} property: tls.key {{ else }} ---