Add hpa resource to member role

Change-Id: If5fab21919f84c93d94716baf0e74fadd1c41d1f
This commit is contained in:
okozachenko 2020-05-09 01:31:09 +03:00
parent f9900bebd2
commit 3d5f126115
1 changed files with 4 additions and 1 deletions

View File

@ -26,7 +26,10 @@ rules:
- apiGroups: ["apps"]
resources: ["daemonsets", "deployments", "replicasets", "statefulsets"]
verbs: ["get", "list"]
# List and get pods
# List and get hpa
- apiGroups: ["autoscaling"]
resources: ["horizontalpodautoscaler"]
verbs: ["get", "list"]
- apiGroups: [""]
resources: ["pods"]
verbs: ["get", "list"]