120 lines
1.9 KiB
YAML
120 lines
1.9 KiB
YAML
|
---
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRole
|
||
|
metadata:
|
||
|
creationTimestamp: null
|
||
|
name: dragonfly-operator-manager-role
|
||
|
rules:
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- events
|
||
|
verbs:
|
||
|
- create
|
||
|
- patch
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- pods
|
||
|
verbs:
|
||
|
- create
|
||
|
- delete
|
||
|
- get
|
||
|
- list
|
||
|
- patch
|
||
|
- update
|
||
|
- watch
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- services
|
||
|
verbs:
|
||
|
- create
|
||
|
- delete
|
||
|
- get
|
||
|
- list
|
||
|
- patch
|
||
|
- update
|
||
|
- watch
|
||
|
- apiGroups:
|
||
|
- apps
|
||
|
resources:
|
||
|
- statefulsets
|
||
|
verbs:
|
||
|
- create
|
||
|
- delete
|
||
|
- get
|
||
|
- list
|
||
|
- patch
|
||
|
- update
|
||
|
- watch
|
||
|
- apiGroups:
|
||
|
- dragonflydb.io
|
||
|
resources:
|
||
|
- dragonflies
|
||
|
verbs:
|
||
|
- create
|
||
|
- delete
|
||
|
- get
|
||
|
- list
|
||
|
- patch
|
||
|
- update
|
||
|
- watch
|
||
|
- apiGroups:
|
||
|
- dragonflydb.io
|
||
|
resources:
|
||
|
- dragonflies/finalizers
|
||
|
verbs:
|
||
|
- update
|
||
|
- apiGroups:
|
||
|
- dragonflydb.io
|
||
|
resources:
|
||
|
- dragonflies/status
|
||
|
verbs:
|
||
|
- get
|
||
|
- patch
|
||
|
- update
|
||
|
---
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRole
|
||
|
metadata:
|
||
|
labels:
|
||
|
app.kubernetes.io/component: kube-rbac-proxy
|
||
|
app.kubernetes.io/created-by: dragonfly-operator
|
||
|
app.kubernetes.io/instance: metrics-reader
|
||
|
app.kubernetes.io/managed-by: kustomize
|
||
|
app.kubernetes.io/name: clusterrole
|
||
|
app.kubernetes.io/part-of: dragonfly-operator
|
||
|
name: dragonfly-operator-metrics-reader
|
||
|
rules:
|
||
|
- nonResourceURLs:
|
||
|
- /metrics
|
||
|
verbs:
|
||
|
- get
|
||
|
|
||
|
---
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRole
|
||
|
metadata:
|
||
|
labels:
|
||
|
app.kubernetes.io/component: kube-rbac-proxy
|
||
|
app.kubernetes.io/created-by: dragonfly-operator
|
||
|
app.kubernetes.io/instance: proxy-role
|
||
|
app.kubernetes.io/managed-by: kustomize
|
||
|
app.kubernetes.io/name: clusterrole
|
||
|
app.kubernetes.io/part-of: dragonfly-operator
|
||
|
name: dragonfly-operator-proxy-role
|
||
|
rules:
|
||
|
- apiGroups:
|
||
|
- authentication.k8s.io
|
||
|
resources:
|
||
|
- tokenreviews
|
||
|
verbs:
|
||
|
- create
|
||
|
- apiGroups:
|
||
|
- authorization.k8s.io
|
||
|
resources:
|
||
|
- subjectaccessreviews
|
||
|
verbs:
|
||
|
- create
|