From 1c461649a92506eabf6034ad24f1afb09b4e176c Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Wed, 3 May 2023 03:21:39 +0000 Subject: [PATCH] actual extrernal secret --- k8s/apps/ingresses/templates/_helpers/ingress.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/k8s/apps/ingresses/templates/_helpers/ingress.yaml b/k8s/apps/ingresses/templates/_helpers/ingress.yaml index cfd8f3b..fd45d42 100644 --- a/k8s/apps/ingresses/templates/_helpers/ingress.yaml +++ b/k8s/apps/ingresses/templates/_helpers/ingress.yaml @@ -19,6 +19,7 @@ apiVersion: external-secrets.io/v1beta1 kind: ExternalSecret metadata: name: "tls-{{.prefix}}.{{.global.domain}}" + namespace: {{ .namespace }} spec: refreshInterval: 1h secretStoreRef: @@ -29,6 +30,10 @@ spec: creationPolicy: Owner deletionPolicy: Delete data: + - secretKey: cloudflare-wildcard.{{ .global.domain }} + remoteRef: + key: tls.crt + property: tls.crt - secretKey: cloudflare-wildcard.{{ .global.domain }} remoteRef: key: tls.key