From 91eb720b8d0fa8b65d94ebeec96a80372a1d5b1c Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Thu, 12 Dec 2019 20:18:01 +0000 Subject: [PATCH] Add more rbac permissions in the 'apps' group Daemonset was missed in the update from v1beta1 to v1; also we need get and update on deployments/scale. --- examples/k8s/cluster-role.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples/k8s/cluster-role.yaml b/examples/k8s/cluster-role.yaml index e98eab0038..cd46895730 100644 --- a/examples/k8s/cluster-role.yaml +++ b/examples/k8s/cluster-role.yaml @@ -33,6 +33,7 @@ rules: resources: - deployments - statefulsets + - daemonsets verbs: - get - list @@ -63,6 +64,13 @@ rules: - deployments/scale verbs: - update +- apiGroups: + - apps + resources: + - deployments/scale + verbs: + - get + - update - apiGroups: - storage.k8s.io resources: