From 8af0865a3a3ef783b36016c17598adc9d932981d Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 23 Apr 2018 15:09:55 +0200 Subject: Add permission to scale pods to maintain role --- setup/projects/openshift/templates/maintain.yml.j2 | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/setup/projects/openshift/templates/maintain.yml.j2 b/setup/projects/openshift/templates/maintain.yml.j2 index 41017a5..02df933 100644 --- a/setup/projects/openshift/templates/maintain.yml.j2 +++ b/setup/projects/openshift/templates/maintain.yml.j2 @@ -31,3 +31,48 @@ rules: - patch - update - watch +- apiGroups: + - extensions + attributeRestrictions: null + resources: + - deployments/scale + - replicationcontrollers/scale + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch +- apiGroups: + - apps + attributeRestrictions: null + resources: + - deployments/scale + - deployments/status + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch +- apiGroups: + - "" + - apps.openshift.io + attributeRestrictions: null + resources: + - deploymentconfigs/scale + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch -- cgit v1.2.3