From 6ac391b7fce792263f6a50e29721115298704ae0 Mon Sep 17 00:00:00 2001 From: jacklull Date: Tue, 3 Sep 2024 18:01:56 +0200 Subject: [PATCH] Migrate authentik from application ns to platform ns Increase authentik memory requests and limits from 512Mi to 1Gi Issue: https://gitea.badhouseplants.net/allanger/k8s-deployment/issues/1 --- installations/applications/helmfile.yaml | 11 ----------- installations/platform/helmfile.yaml | 13 +++++++++++++ values/badhouseplants/values.authentik.yaml | 4 ++-- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/installations/applications/helmfile.yaml b/installations/applications/helmfile.yaml index 465d9c8..8289d0c 100644 --- a/installations/applications/helmfile.yaml +++ b/installations/applications/helmfile.yaml @@ -12,8 +12,6 @@ repositories: oci: true - name: requarks url: https://charts.js.wiki - - name: goauthentik - url: https://charts.goauthentik.io/ - name: ananace-charts url: https://ananace.gitlab.io/charts - name: gitea @@ -35,15 +33,6 @@ repositories: url: https://robjuz.github.io/helm-charts/ releases: - - name: authentik - chart: goauthentik/authentik - version: 2024.6.1 - namespace: applications - createNamespace: false - inherit: - - template: default-env-values - - template: default-env-secrets - - template: ext-database - name: funkwhale chart: ananace-charts/funkwhale diff --git a/installations/platform/helmfile.yaml b/installations/platform/helmfile.yaml index 70394d7..30936d2 100644 --- a/installations/platform/helmfile.yaml +++ b/installations/platform/helmfile.yaml @@ -20,6 +20,8 @@ repositories: url: https://fluxcd-community.github.io/helm-charts - name: crossplane-stable url: https://charts.crossplane.io/stable + - name: goauthentik + url: https://charts.goauthentik.io/ releases: - name: argocd @@ -36,6 +38,7 @@ releases: namespace: platform condition: workload.enabled version: 2.13.0 + installed: false - name: db-operator namespace: platform @@ -97,3 +100,13 @@ releases: condition: workload.enabled inherit: - template: default-env-values + + - name: authentik + chart: goauthentik/authentik + version: 2024.6.1 + namespace: platform + createNamespace: false + inherit: + - template: default-env-values + - template: default-env-secrets + - template: ext-database diff --git a/values/badhouseplants/values.authentik.yaml b/values/badhouseplants/values.authentik.yaml index 16ce0d9..16a7456 100644 --- a/values/badhouseplants/values.authentik.yaml +++ b/values/badhouseplants/values.authentik.yaml @@ -58,9 +58,9 @@ server: resources: requests: cpu: 100m - memory: 512Mi + memory: 1Gi limits: - memory: 512Mi + memory: 1Gi livenessProbe: failureThreshold: 3 initialDelaySeconds: 5