diff --git a/mycloud-authentik/templates/release.yaml b/mycloud-authentik/templates/release.yaml index 08d9863..13cfcc7 100644 --- a/mycloud-authentik/templates/release.yaml +++ b/mycloud-authentik/templates/release.yaml @@ -7,11 +7,9 @@ spec: chart: spec: sourceRef: - # kind: HelmRepository - kind: GitRepository - name: "authentik" - # chart: "authentik" - chart: "./charts/authentik" + kind: HelmRepository + name: "{{ .Release.Name }}-hr" + chart: "authentik" install: {{- toYaml .Values.commons.helm.release.install | nindent 4 }} test: @@ -90,7 +88,7 @@ spec: labels: {{- toYaml .Values.commons.prometheus.monitor.labels | nindent 12 }} - serviceAccount: {{ .Release.Name }} + serviceAccountName: {{ .Release.Name }} extraContainers: - name: sidecar-blueprints image: "ghcr.io/kiwigrid/k8s-sidecar:1.26.0" @@ -140,7 +138,7 @@ spec: labels: {{- toYaml .Values.commons.prometheus.monitor.labels | nindent 12 }} - serviceAccount: {{ .Release.Name }} + serviceAccountName: {{ .Release.Name }} extraContainers: - name: sidecar-blueprints image: "ghcr.io/kiwigrid/k8s-sidecar:1.26.0" diff --git a/mycloud-authentik/templates/repo.yaml b/mycloud-authentik/templates/repo.yaml index f137279..6996d70 100644 --- a/mycloud-authentik/templates/repo.yaml +++ b/mycloud-authentik/templates/repo.yaml @@ -1,12 +1,8 @@ --- apiVersion: source.toolkit.fluxcd.io/v1beta2 -# kind: HelmRepository -kind: GitRepository +kind: HelmRepository metadata: - name: authentik + name: "{{ .Release.Name }}-hr" spec: - # url: https://charts.goauthentik.io - url: https://github.com/wrenix/goauthentik-helm.git - ref: - branch: "feat/serviceAccount" + url: https://charts.goauthentik.io interval: 10m