91 lines
1.2 KiB
YAML
91 lines
1.2 KiB
YAML
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: redis-operator.*
|
|
rules:
|
|
- apiGroups:
|
|
- redis.redis.opstreelabs.in
|
|
resources:
|
|
- rediss
|
|
- redisclusters
|
|
- redis
|
|
- rediscluster
|
|
verbs:
|
|
- create
|
|
- delete
|
|
- get
|
|
- list
|
|
- patch
|
|
- update
|
|
- watch
|
|
- apiGroups:
|
|
- redis.redis.opstreelabs.in
|
|
resources:
|
|
- redis/finalizers
|
|
- rediscluster/finalizers
|
|
verbs:
|
|
- update
|
|
- apiGroups:
|
|
- redis.redis.opstreelabs.in
|
|
resources:
|
|
- redis/status
|
|
- rediscluster/status
|
|
verbs:
|
|
- get
|
|
- patch
|
|
- update
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- secrets
|
|
- pods/exec
|
|
- services
|
|
- configmaps
|
|
- pods
|
|
- persistentvolumes
|
|
- persistentvolumeclaims
|
|
verbs:
|
|
- create
|
|
- delete
|
|
- get
|
|
- list
|
|
- patch
|
|
- update
|
|
- watch
|
|
- apiGroups:
|
|
- apps
|
|
resources:
|
|
- statefulsets
|
|
verbs:
|
|
- create
|
|
- delete
|
|
- get
|
|
- list
|
|
- patch
|
|
- update
|
|
- watch
|
|
- apiGroups:
|
|
- coordination.k8s.io
|
|
resources:
|
|
- leases
|
|
verbs:
|
|
- create
|
|
- delete
|
|
- get
|
|
- list
|
|
- patch
|
|
- update
|
|
- watch
|
|
- apiGroups:
|
|
- policy
|
|
resources:
|
|
- poddisruptionbudgets
|
|
verbs:
|
|
- create
|
|
- delete
|
|
- get
|
|
- list
|
|
- patch
|
|
- update
|
|
- watch
|