feat(mycloud-authentik): reactivat serviceAccount for blueprint (before 2024)

This commit is contained in:
WrenIX 2024-03-11 08:33:28 +01:00
parent ce6bd36556
commit bb2ac61ed1
Signed by: wrenix
GPG key ID: 7AFDB012974B1BB5
3 changed files with 9 additions and 2 deletions

View file

@ -69,7 +69,7 @@ spec:
# https://github.com/goauthentik/helm/pull/146 # https://github.com/goauthentik/helm/pull/146
# #
serviceAccount: serviceAccount:
create: true create: false
{{- $host := .Values.ingress.host | default (printf "auth.%s" .Values.commons.ingress.domain) }} {{- $host := .Values.ingress.host | default (printf "auth.%s" .Values.commons.ingress.domain) }}
global: global:
@ -88,6 +88,7 @@ spec:
labels: labels:
{{- toYaml .Values.commons.prometheus.monitor.labels | nindent 12 }} {{- toYaml .Values.commons.prometheus.monitor.labels | nindent 12 }}
serviceAccount: {{ .Release.Name }}
extraContainers: extraContainers:
- name: sidecar-blueprints - name: sidecar-blueprints
image: "ghcr.io/kiwigrid/k8s-sidecar:1.26.0" image: "ghcr.io/kiwigrid/k8s-sidecar:1.26.0"
@ -137,6 +138,8 @@ spec:
labels: labels:
{{- toYaml .Values.commons.prometheus.monitor.labels | nindent 12 }} {{- toYaml .Values.commons.prometheus.monitor.labels | nindent 12 }}
serviceAccount: {{ .Release.Name }}
extraContainers: extraContainers:
- name: sidecar-blueprints - name: sidecar-blueprints
image: "ghcr.io/kiwigrid/k8s-sidecar:1.26.0" image: "ghcr.io/kiwigrid/k8s-sidecar:1.26.0"

View file

@ -8,4 +8,4 @@ roleRef:
name: {{ .Release.Name }}-blueprint-sidecar name: {{ .Release.Name }}-blueprint-sidecar
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: {{ .Release.Name }}-hr name: {{ .Release.Name }}

View file

@ -0,0 +1,4 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Release.Name }}