Add watch verb to member role

Change-Id: I0123202d9bae691950e3f46e3d8432ce49fa327e
This commit is contained in:
okozachenko 2020-07-27 17:14:36 +03:00
parent a61e018ce4
commit e5b54502e1

View File

@ -21,28 +21,28 @@ rules:
# List and get configmap, pv & pvc and namespaces, nodes & pods & pod logs
- apiGroups: [""]
resources: ["configmaps", "nodes", "namespaces", "persistentvolumeclaims", "persistentvolumes", "pods", "pods/log"]
verbs: ["get", "list"]
verbs: ["get", "list", "watch"]
# List all get applications
- apiGroups: ["apps"]
resources: ["daemonsets", "deployments", "replicasets", "statefulsets"]
verbs: ["get", "list"]
verbs: ["get", "list", "watch"]
# List and get hpa
- apiGroups: ["autoscaling"]
resources: ["horizontalpodautoscalers"]
verbs: ["get", "list"]
verbs: ["get", "list", "watch"]
# View orders and challenges
- apiGroups: ["acme.cert-manager.io"]
resources: ["challenges", "orders"]
verbs: ["get", "list"]
verbs: ["get", "list", "watch"]
# View certificates
- apiGroups: ["cert-manager.io"]
resources: ["certificates"]
verbs: ["get", "list"]
verbs: ["get", "list", "watch"]
# View resource usage for nodes and pods
- apiGroups: ["metrics.k8s.io"]
resources: ["nodes", "pods"]
verbs: ["get", "list"]
verbs: ["get", "list", "watch"]
# View storageclasses
- apiGroups: ["storage.k8s.io"]
resources: ["storageclasses"]
verbs: ["get", "list"]
verbs: ["get", "list", "watch"]