From 5b5980765ef1f1901d157e7c2c13a35c2794d571 Mon Sep 17 00:00:00 2001 From: Steffen Illium Date: Fri, 5 Apr 2024 18:11:51 +0200 Subject: [PATCH] authentik init --- infrastructure/05-authentik/base/values.yaml | 44 +++++++++++++++++++ .../05-authentik/kustomization.yaml | 18 ++++++++ 2 files changed, 62 insertions(+) create mode 100644 infrastructure/05-authentik/base/values.yaml create mode 100644 infrastructure/05-authentik/kustomization.yaml diff --git a/infrastructure/05-authentik/base/values.yaml b/infrastructure/05-authentik/base/values.yaml new file mode 100644 index 0000000..a7cc9ae --- /dev/null +++ b/infrastructure/05-authentik/base/values.yaml @@ -0,0 +1,44 @@ +authentik: + secret_key: "---" + error_reporting: + enabled: true + +# add this block under the `authentik:` block in your values.yaml file +# authentik: +email: + # -- SMTP Server emails are sent from, fully optional + host: "---" + port: 587 + # -- SMTP credentials. When left empty, no authentication will be done. + username: "---" + # -- SMTP credentials. When left empty, no authentication will be done. + password: "---" + # -- Enable either use_tls or use_ssl. They can't be enabled at the same time. + use_tls: true + # -- Enable either use_tls or use_ssl. They can't be enabled at the same time. + use_ssl: false + # -- Connection timeout in seconds + timeout: 30 + # -- Email 'from' address can either be in the format "foo@bar.baz" or "authentik " + from: "authentik@steffenillium.de" + + +global: + envFrom: + - secretRef: + name: authentik-secret + +server: + ingress: + # Specify kubernetes ingress controller class name + ingressClassName: traefik + enabled: true + hosts: + - authentik.steffenillium.de + +postgresql: + enabled: true + auth: + password: "---" +redis: + enabled: true \ No newline at end of file diff --git a/infrastructure/05-authentik/kustomization.yaml b/infrastructure/05-authentik/kustomization.yaml new file mode 100644 index 0000000..20ce095 --- /dev/null +++ b/infrastructure/05-authentik/kustomization.yaml @@ -0,0 +1,18 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +namespace: authentik + +components: + - ../../components/front-region-selector.yaml + +resources: + - base/authentik-secret.yaml + +helmCharts: +- name: authentik + includeCRDs: true + version: 2024.2.2 + releaseName: "authentik" + repo: https://charts.goauthentik.io + valuesFile: base/values.yaml