trying authentik
This commit is contained in:
parent
6fea02a18d
commit
300dc46ca4
6 changed files with 47 additions and 12 deletions
9
cluster/apps/charts/authentik-chart.yaml
Normal file
9
cluster/apps/charts/authentik-chart.yaml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
|
kind: HelmRepository
|
||||||
|
metadata:
|
||||||
|
name: authentik-chart
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 1h
|
||||||
|
url: https://charts.goauthentik.io
|
|
@ -1,15 +1,17 @@
|
||||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
---
|
||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
kind: HelmRelease
|
kind: HelmRelease
|
||||||
metadata:
|
metadata:
|
||||||
name: authentik
|
name: authentik
|
||||||
namespace: default
|
namespace: default
|
||||||
spec:
|
spec:
|
||||||
interval: 5m
|
interval: 15m
|
||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: authentik
|
chart: authentik
|
||||||
|
version: "2024.6.0"
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: authentik
|
name: authentik-chart
|
||||||
namespace: flux-system
|
namespace: flux-system
|
||||||
interval: 1m
|
interval: 15m
|
21
cluster/apps/staging/authentik/authentik/ingress.yaml
Normal file
21
cluster/apps/staging/authentik/authentik/ingress.yaml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: authentik-pub
|
||||||
|
namespace: default
|
||||||
|
annotations:
|
||||||
|
kubernetes.io/ingress.class: "traefik-external"
|
||||||
|
traefik.ingress.kubernetes.io/router.entrypoints: web
|
||||||
|
traefik.ingress.kubernetes.io/router.middlewares: default-headers@kubernetescrd
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: auth.${PUBLIC_DOMAIN}
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: authentik
|
||||||
|
port:
|
||||||
|
number: 6767
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- helmrelease.yaml
|
||||||
|
- ingress.yaml
|
5
cluster/apps/staging/authentik/kustomization.yaml
Normal file
5
cluster/apps/staging/authentik/kustomization.yaml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- authentik
|
|
@ -1,8 +0,0 @@
|
||||||
apiVersion: source.toolkit.fluxcd.io/v1
|
|
||||||
kind: GitRepository
|
|
||||||
metadata:
|
|
||||||
name: authentik
|
|
||||||
namespace: default
|
|
||||||
spec:
|
|
||||||
interval: 5m
|
|
||||||
url: https://github.com/goauthentik/helm
|
|
Loading…
Reference in a new issue