generating tls
This commit is contained in:
1 parent
17591a1d66
commit
d69c77ccac
1 file changed
+6
@@ -25,10 +25,12 @@ spec:
|
|||||||
name: authentik-server
|
name: authentik-server
|
||||||
namespace: chart-authentik
|
namespace: chart-authentik
|
||||||
port: 80
|
port: 80
|
||||||
|
{{ if .Values.global.tls.enabled }}
|
||||||
tls:
|
tls:
|
||||||
secretName: tls-authentik.core.home.{{ .Values.global.domain }}
|
secretName: tls-authentik.core.home.{{ .Values.global.domain }}
|
||||||
domains:
|
domains:
|
||||||
- main: authentik.core.home.{{ .Values.global.domain }}
|
- main: authentik.core.home.{{ .Values.global.domain }}
|
||||||
|
{{ end }}
|
||||||
---
|
---
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
kind: Middleware
|
kind: Middleware
|
||||||
@@ -51,3 +53,7 @@ spec:
|
|||||||
- X-authentik-meta-provider
|
- X-authentik-meta-provider
|
||||||
- X-authentik-meta-app
|
- X-authentik-meta-app
|
||||||
- X-authentik-meta-version
|
- X-authentik-meta-version
|
||||||
|
---
|
||||||
|
{{ 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 }}
|
||||||
Reference in new issue
Block a user