From 01a30be2c0ede3bcf4db155d1775c063e2ec4692 Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Wed, 19 Feb 2025 14:32:40 +0800 Subject: [PATCH] feat(firefly)!: SQLite, update to new template --- .../apps/authentik/forward-auth/ingress.yaml | 22 +++++++++++++++++++ .../authentik/forward-auth/kustomization.yaml | 14 ++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 kube/deploy/apps/authentik/forward-auth/ingress.yaml create mode 100644 kube/deploy/apps/authentik/forward-auth/kustomization.yaml diff --git a/kube/deploy/apps/authentik/forward-auth/ingress.yaml b/kube/deploy/apps/authentik/forward-auth/ingress.yaml new file mode 100644 index 00000000..63532857 --- /dev/null +++ b/kube/deploy/apps/authentik/forward-auth/ingress.yaml @@ -0,0 +1,22 @@ +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: ${AUTHENTIK_PROXY_HOST}-authentik + namespace: authentik +spec: + ingressClassName: "${INGRESS_CLASS:=nginx-internal}" + rules: + - host: &host "${AUTHENTIK_PROXY_HOST:=authentik}" + http: + paths: + - pathType: Prefix + path: "/outpost.goauthentik.io" + backend: + service: + name: authentik + port: + name: http + tls: + - hosts: + - *host diff --git a/kube/deploy/apps/authentik/forward-auth/kustomization.yaml b/kube/deploy/apps/authentik/forward-auth/kustomization.yaml new file mode 100644 index 00000000..58979a58 --- /dev/null +++ b/kube/deploy/apps/authentik/forward-auth/kustomization.yaml @@ -0,0 +1,14 @@ +--- +# yaml-language-server: $schema=https://json.schemastore.org/kustomization +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: authentik +resources: + - ./ingress.yaml +transformers: + - |- + apiVersion: builtin + kind: NamespaceTransformer + metadata: + name: not-used + namespace: authentik