diff --git a/cluster/apps/staging/authentik/authentik/helmrelease.yaml b/cluster/apps/staging/authentik/authentik/helmrelease.yaml index 9b85abe..5634f4f 100644 --- a/cluster/apps/staging/authentik/authentik/helmrelease.yaml +++ b/cluster/apps/staging/authentik/authentik/helmrelease.yaml @@ -14,4 +14,33 @@ spec: kind: HelmRepository name: authentik-chart namespace: flux-system - interval: 15m \ No newline at end of file + interval: 15m + persistence: + enabled: true + storageClass: longhorn + size: 3Gi + +values: + authentik: + secret_key: "xLfHF7V+Hdzqt8Cy2LWNx8oSgGvWrVMG0gwTpB0IC+d2Iduk6qZo//raYbLm+l0CEn8N3d9r/ng0WWuW" + # This sends anonymous usage-data, stack traces on errors and + # performance data to sentry.io, and is fully opt-in + error_reporting: + enabled: false + postgresql: + password: "pm7N6zuDGJhWyR" + +server: + ingress: + # Specify kubernetes ingress controller class name + ingressClassName: traefik + enabled: true + hosts: + - auth.mafyuh.com + +postgresql: + enabled: true + auth: + password: "pm7N6zuDGJhWyR" +redis: + enabled: true \ No newline at end of file diff --git a/cluster/apps/staging/authentik/authentik/ingress.yaml b/cluster/apps/staging/authentik/authentik/ingress.yaml deleted file mode 100644 index b6af455..0000000 --- a/cluster/apps/staging/authentik/authentik/ingress.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: authentik-pub - namespace: default - annotations: - kubernetes.io/ingress.class: "traefik" - traefik.ingress.kubernetes.io/router.entrypoints: web - traefik.ingress.kubernetes.io/router.middlewares: default-headers@kubernetescrd -spec: - rules: - - host: auth.mafyuh.com - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: authentik-server - port: - number: 6767