diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-04-23 15:09:55 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-04-23 15:09:55 +0200 |
commit | 8af0865a3a3ef783b36016c17598adc9d932981d (patch) | |
tree | 2bf479fe4ca4dbc0e0dd78370fe012e7ea954356 /setup/projects/openshift/templates/maintain.yml.j2 | |
parent | 3155c744b3924e68213e542b9a22d858bb64cf83 (diff) | |
download | ands-8af0865a3a3ef783b36016c17598adc9d932981d.tar.gz ands-8af0865a3a3ef783b36016c17598adc9d932981d.tar.bz2 ands-8af0865a3a3ef783b36016c17598adc9d932981d.tar.xz ands-8af0865a3a3ef783b36016c17598adc9d932981d.zip |
Add permission to scale pods to maintain role
Diffstat (limited to 'setup/projects/openshift/templates/maintain.yml.j2')
-rw-r--r-- | setup/projects/openshift/templates/maintain.yml.j2 | 45 |
1 files changed, 45 insertions, 0 deletions
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 |