feat(mycloud-authentik): reactivat serviceAccount for blueprint (before 2024)
This commit is contained in:
parent
ce6bd36556
commit
bb2ac61ed1
3 changed files with 9 additions and 2 deletions
|
@ -69,7 +69,7 @@ spec:
|
|||
# https://github.com/goauthentik/helm/pull/146
|
||||
#
|
||||
serviceAccount:
|
||||
create: true
|
||||
create: false
|
||||
|
||||
{{- $host := .Values.ingress.host | default (printf "auth.%s" .Values.commons.ingress.domain) }}
|
||||
global:
|
||||
|
@ -88,6 +88,7 @@ spec:
|
|||
labels:
|
||||
{{- toYaml .Values.commons.prometheus.monitor.labels | nindent 12 }}
|
||||
|
||||
serviceAccount: {{ .Release.Name }}
|
||||
extraContainers:
|
||||
- name: sidecar-blueprints
|
||||
image: "ghcr.io/kiwigrid/k8s-sidecar:1.26.0"
|
||||
|
@ -137,6 +138,8 @@ spec:
|
|||
labels:
|
||||
{{- toYaml .Values.commons.prometheus.monitor.labels | nindent 12 }}
|
||||
|
||||
|
||||
serviceAccount: {{ .Release.Name }}
|
||||
extraContainers:
|
||||
- name: sidecar-blueprints
|
||||
image: "ghcr.io/kiwigrid/k8s-sidecar:1.26.0"
|
||||
|
|
|
@ -8,4 +8,4 @@ roleRef:
|
|||
name: {{ .Release.Name }}-blueprint-sidecar
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ .Release.Name }}-hr
|
||||
name: {{ .Release.Name }}
|
||||
|
|
4
mycloud-authentik/templates/serviceaccount.yaml
Normal file
4
mycloud-authentik/templates/serviceaccount.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ .Release.Name }}
|
Loading…
Add table
Reference in a new issue