From e7b3b63d41ca1d4a270a11cebbbd55ed12a0822d Mon Sep 17 00:00:00 2001 From: Farnaz Babaeian Date: Wed, 27 Dec 2023 14:15:14 +0000 Subject: [PATCH] fix:Adding missing RBAC + Update deployment tolerations --- .../cloudprovider/clusterapi/examples/deployment.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cluster-autoscaler/cloudprovider/clusterapi/examples/deployment.yaml b/cluster-autoscaler/cloudprovider/clusterapi/examples/deployment.yaml index 4046cea7f48b..bfee32fc1423 100644 --- a/cluster-autoscaler/cloudprovider/clusterapi/examples/deployment.yaml +++ b/cluster-autoscaler/cloudprovider/clusterapi/examples/deployment.yaml @@ -27,7 +27,7 @@ spec: terminationGracePeriodSeconds: 10 tolerations: - effect: NoSchedule - key: node-role.kubernetes.io/master + key: node-role.kubernetes.io/control-plane --- kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1 @@ -165,6 +165,7 @@ rules: - machinedeployments/scale - machines - machinesets + - machinepools verbs: - get - list