authentik-outpost-tls

This commit is contained in:
Ari Sosnovsky committed 2024-07-17 18:01:10 -04:00
1 parent d69c77ccac
commit 7c1c8326e7
1 file changed
+26 -1
+26 -1
View File
@@ -56,4 +56,29 @@ spec:
---
{{ if .Values.global.tls.enabled }}
{{ include "homelab.ingress.domain.tls" (dict "global" .Values.global "namespace" "chart-authentik" "prefix" "authentik.core.home" "domain" .Values.global.domain ) }}
{{ end }}
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: "authentik-outpost-tls"
namespace: chart-authentik
spec:
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: apps-ingresses
target:
name: tls-{{.prefix}}.{{ .Values.global.domain }}
creationPolicy: Owner
deletionPolicy: Delete
data:
- secretKey: tls.crt
remoteRef:
key: cloudflare-wildcard.{{ .Values.global.domain }}
property: tls.crt
- secretKey: tls.key
remoteRef:
key: cloudflare-wildcard.{{ .Values.global.domain }}
property: tls.key
{{ end }}