# permissions for end users to view redis.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: redis-viewer-role
  namespace: ot-operators
rules:
- apiGroups:
  - operators.cloud.tencent.com
  resources:
  - redis
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - operators.cloud.tencent.com
  resources:
  - redis/status
  verbs:
  - get
