mirror of https://github.com/fluxcd/flux2.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
485 B
YAML
25 lines
485 B
YAML
5 years ago
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: Role
|
||
|
metadata:
|
||
|
name: crd-controller
|
||
|
rules:
|
||
|
- apiGroups: ['source.fluxcd.io']
|
||
|
resources: ['*']
|
||
|
verbs: ['*']
|
||
|
- apiGroups: ['kustomize.fluxcd.io']
|
||
|
resources: ['*']
|
||
|
verbs: ['*']
|
||
|
---
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: RoleBinding
|
||
|
metadata:
|
||
|
name: crd-controller
|
||
|
roleRef:
|
||
|
apiGroup: rbac.authorization.k8s.io
|
||
|
kind: Role
|
||
|
name: crd-controller
|
||
|
subjects:
|
||
|
- kind: ServiceAccount
|
||
|
name: default
|
||
|
namespace: system
|