From 20fdffec8bbcfce148be339ffbb250ea584b325b Mon Sep 17 00:00:00 2001 From: Andrew Plummer Date: Thu, 17 Jan 2019 23:28:39 +0000 Subject: [PATCH] Cluster autoscaler clusterrole add jobs (#10206) * [cluster-autoscaler] Add batch.jobs permissions to clusterrole Signed-off-by: Andrew Plummer * [cluster-autoscaler] Cronjobs too Signed-off-by: Andrew Plummer * [cluster-autoscaler] Bump version number Signed-off-by: Andrew Plummer --- stable/cluster-autoscaler/Chart.yaml | 2 +- stable/cluster-autoscaler/templates/clusterrole.yaml | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/stable/cluster-autoscaler/Chart.yaml b/stable/cluster-autoscaler/Chart.yaml index 4155044ee1..bbe57b2386 100644 --- a/stable/cluster-autoscaler/Chart.yaml +++ b/stable/cluster-autoscaler/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 description: Scales worker nodes within autoscaling groups. icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png name: cluster-autoscaler -version: 0.11.1 +version: 0.11.2 appVersion: 1.13.1 home: https://github.com/kubernetes/autoscaler sources: diff --git a/stable/cluster-autoscaler/templates/clusterrole.yaml b/stable/cluster-autoscaler/templates/clusterrole.yaml index 9b65752571..f640bc3bbc 100644 --- a/stable/cluster-autoscaler/templates/clusterrole.yaml +++ b/stable/cluster-autoscaler/templates/clusterrole.yaml @@ -59,6 +59,15 @@ rules: - watch - list - get + - apiGroups: + - batch + resources: + - jobs + - cronjobs + verbs: + - watch + - list + - get - apiGroups: - extensions resources: