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
|
# 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"
|
||||||
|
|
|
@ -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 }}
|
||||||
|
|
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