From 3d5f126115f97d7fd0df8a63078bb17e3c6b2f8a Mon Sep 17 00:00:00 2001 From: okozachenko Date: Sat, 9 May 2020 01:31:09 +0300 Subject: [PATCH] Add hpa resource to member role Change-Id: If5fab21919f84c93d94716baf0e74fadd1c41d1f --- charts/rbac/templates/clusterrole-members.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/rbac/templates/clusterrole-members.yaml b/charts/rbac/templates/clusterrole-members.yaml index 072e187..f04ca70 100644 --- a/charts/rbac/templates/clusterrole-members.yaml +++ b/charts/rbac/templates/clusterrole-members.yaml @@ -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"]