mirror of https://github.com/fluxcd/flux2.git
Add dedicated service accounts per controller
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>pull/777/head
parent
c219eb2883
commit
1b581d6f51
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: helm-controller
|
@ -1,3 +1,6 @@
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/args/0
|
||||
value: --events-addr=http://notification-controller/
|
||||
- op: add
|
||||
path: /spec/template/spec/serviceAccountName
|
||||
value: helm-controller
|
||||
|
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: image-automation-controller
|
@ -1,3 +1,6 @@
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/args/0
|
||||
value: --events-addr=http://notification-controller/
|
||||
- op: add
|
||||
path: /spec/template/spec/serviceAccountName
|
||||
value: image-automation-controller
|
||||
|
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: image-reflector-controller
|
@ -1,3 +1,6 @@
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/args/0
|
||||
value: --events-addr=http://notification-controller/
|
||||
- op: add
|
||||
path: /spec/template/spec/serviceAccountName
|
||||
value: image-reflector-controller
|
||||
|
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: kustomize-controller
|
@ -1,3 +1,6 @@
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/args/0
|
||||
value: --events-addr=http://notification-controller/
|
||||
- op: add
|
||||
path: /spec/template/spec/serviceAccountName
|
||||
value: kustomize-controller
|
||||
|
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: notification-controller
|
@ -0,0 +1,3 @@
|
||||
- op: add
|
||||
path: /spec/template/spec/serviceAccountName
|
||||
value: notification-controller
|
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: source-controller
|
@ -1,3 +1,6 @@
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/args/0
|
||||
value: --events-addr=http://notification-controller/
|
||||
- op: add
|
||||
path: /spec/template/spec/serviceAccountName
|
||||
value: source-controller
|
||||
|
@ -1,5 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- role.yaml
|
||||
- cluster-role.yaml
|
||||
- controller.yaml
|
||||
- reconciler.yaml
|
||||
|
Loading…
Reference in New Issue