1
0
mirror of synced 2026-02-06 19:05:55 +00:00

Add dedicated service accounts per controller

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2021-01-26 00:46:07 +02:00
parent c219eb2883
commit 1b581d6f51
21 changed files with 95 additions and 12 deletions

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: notification-controller

View File

@@ -3,3 +3,11 @@ kind: Kustomization
resources:
- https://github.com/fluxcd/notification-controller/archive/v0.7.0.zip//notification-controller-0.7.0/config/crd
- https://github.com/fluxcd/notification-controller/archive/v0.7.0.zip//notification-controller-0.7.0/config/manager
- account.yaml
patchesJson6902:
- target:
group: apps
version: v1
kind: Deployment
name: notification-controller
path: patch.yaml

View File

@@ -0,0 +1,3 @@
- op: add
path: /spec/template/spec/serviceAccountName
value: notification-controller