From 639fd26333865e535cb22a6a2282490096733ef5 Mon Sep 17 00:00:00 2001 From: David Kilias Date: Thu, 28 Dec 2023 00:07:44 +0100 Subject: [PATCH] feat: add authentik deplozment --- authentik/chart-source.yaml | 8 +++++++ authentik/helm-release.yaml | 43 +++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 authentik/chart-source.yaml create mode 100644 authentik/helm-release.yaml diff --git a/authentik/chart-source.yaml b/authentik/chart-source.yaml new file mode 100644 index 0000000..1839c56 --- /dev/null +++ b/authentik/chart-source.yaml @@ -0,0 +1,8 @@ +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: authentik + namespace: flux-system +spec: + interval: 1m + url: https://charts.goauthentik.io/authentik \ No newline at end of file diff --git a/authentik/helm-release.yaml b/authentik/helm-release.yaml new file mode 100644 index 0000000..d4ef09a --- /dev/null +++ b/authentik/helm-release.yaml @@ -0,0 +1,43 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta2 +kind: HelmRelease +metadata: + name: authentik + namespace: default +spec: + interval: 5m + chart: + spec: + chart: + version: '4.0.x' + sourceRef: + kind: HelmRepository + name: authentik + namespace: flux-system + interval: 1m + values: + authentik: + secret_key: "nPgcX6KnkNUXO6nxYJylIq324gEXlDlWuruetgoj4YQpwKpglu" + # This sends anonymous usage-data, stack traces on errors and + # performance data to sentry.io, and is fully opt-in + error_reporting: + enabled: true + postgresql: + password: "ThisIsNotASecurePassword" + + ingress: + # Specify kubernetes ingress controller class name + ingressClassName: nginx + enabled: true + hosts: + # Specify external host name + # - host: account.n39.eu + - host: k3s.n39.eu + paths: + - path: "/" + pathType: Prefix + + postgresql: + enabled: true + postgresqlPassword: "ThisIsNotASecurePassword" + redis: + enabled: true \ No newline at end of file -- 2.45.2