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

manifests: fix leader election rbac

This commit is contained in:
stefanprodan
2020-05-03 12:51:50 +03:00
parent ceaef7ccc4
commit 47c249e3be
6 changed files with 17 additions and 19 deletions

View File

@@ -1,18 +0,0 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: cluster-reconciler
namespace: system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: cluster-reconciler
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: cluster-reconciler
namespace: system

View File

@@ -3,6 +3,3 @@ kind: Kustomization
resources:
- github.com/fluxcd/kustomize-controller/config//crd?ref=v0.0.1-alpha.6
- github.com/fluxcd/kustomize-controller/config//manager?ref=v0.0.1-alpha.6
- cluster_role.yaml
patchesStrategicMerge:
- patch.yaml

View File

@@ -1,8 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: kustomize-controller
spec:
template:
spec:
serviceAccountName: cluster-reconciler