1
0
mirror of synced 2026-02-06 10:55:56 +00:00

manifests: add cluster reconciler RBAC and SA

This commit is contained in:
stefanprodan
2020-05-03 11:33:28 +03:00
parent 58c096e7c0
commit b9a8100dbb
4 changed files with 18 additions and 13 deletions

View File

@@ -1,23 +0,0 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: cluster-reconciler
rules:
- apiGroups: ['*']
resources: ['*']
verbs: ['*']
- nonResourceURLs: ['*']
verbs: ['*']
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: cluster-reconciler
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-reconciler
subjects:
- kind: ServiceAccount
name: default
namespace: system

View File

@@ -1,5 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- cluster_role.yaml
- role.yaml