From 70da071390757ee29e860409777606c158ad3d6e Mon Sep 17 00:00:00 2001 From: WrenIX Date: Sat, 6 Apr 2024 12:33:25 +0200 Subject: [PATCH] fix(mycloud-authentik): serviceaccount workaround till solved in helm-chart see https://github.com/goauthentik/helm/pull/253 --- mycloud-authentik/templates/release.yaml | 7 ++++--- mycloud-authentik/templates/repo.yaml | 8 ++++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/mycloud-authentik/templates/release.yaml b/mycloud-authentik/templates/release.yaml index 9b45628..08d9863 100644 --- a/mycloud-authentik/templates/release.yaml +++ b/mycloud-authentik/templates/release.yaml @@ -7,9 +7,11 @@ spec: chart: spec: sourceRef: - kind: HelmRepository + # kind: HelmRepository + kind: GitRepository name: "authentik" - chart: "authentik" + # chart: "authentik" + chart: "./charts/authentik" install: {{- toYaml .Values.commons.helm.release.install | nindent 4 }} test: @@ -138,7 +140,6 @@ spec: labels: {{- toYaml .Values.commons.prometheus.monitor.labels | nindent 12 }} - serviceAccount: {{ .Release.Name }} extraContainers: - name: sidecar-blueprints diff --git a/mycloud-authentik/templates/repo.yaml b/mycloud-authentik/templates/repo.yaml index 2bcaf32..f137279 100644 --- a/mycloud-authentik/templates/repo.yaml +++ b/mycloud-authentik/templates/repo.yaml @@ -1,8 +1,12 @@ --- apiVersion: source.toolkit.fluxcd.io/v1beta2 -kind: HelmRepository +# kind: HelmRepository +kind: GitRepository metadata: name: authentik spec: - url: https://charts.goauthentik.io + # url: https://charts.goauthentik.io + url: https://github.com/wrenix/goauthentik-helm.git + ref: + branch: "feat/serviceAccount" interval: 10m