summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades/files
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2017-10-02 10:23:40 -0400
committerScott Dodson <sdodson@redhat.com>2017-10-10 13:32:01 -0400
commitc69638d33c799ebc7ea862b1251c06e7effcf6c6 (patch)
tree437fa16ad0c705ec83fc6ada51402f74c7b3a8e3 /playbooks/common/openshift-cluster/upgrades/files
parent48126155eade2d030398f69dc5ee32838ec08480 (diff)
downloadopenshift-c69638d33c799ebc7ea862b1251c06e7effcf6c6.tar.gz
openshift-c69638d33c799ebc7ea862b1251c06e7effcf6c6.tar.bz2
openshift-c69638d33c799ebc7ea862b1251c06e7effcf6c6.tar.xz
openshift-c69638d33c799ebc7ea862b1251c06e7effcf6c6.zip
Force reconciliation of role for 3.6
This is needed because in 3.6 we cannot reconcile non-cluster roles in the bootstrap reconciliation code. In 3.7 this is taken care of in code. Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/files')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/files/shared_resource_viewer_role.yaml37
1 files changed, 37 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/files/shared_resource_viewer_role.yaml b/playbooks/common/openshift-cluster/upgrades/files/shared_resource_viewer_role.yaml
new file mode 100644
index 000000000..9c9c260fb
--- /dev/null
+++ b/playbooks/common/openshift-cluster/upgrades/files/shared_resource_viewer_role.yaml
@@ -0,0 +1,37 @@
+---
+apiVersion: v1
+kind: Role
+metadata:
+ name: shared-resource-viewer
+ namespace: openshift
+rules:
+- apiGroups:
+ - ""
+ - template.openshift.io
+ attributeRestrictions: null
+ resources:
+ - templates
+ verbs:
+ - get
+ - list
+ - watch
+- apiGroups:
+ - ""
+ - image.openshift.io
+ attributeRestrictions: null
+ resources:
+ - imagestreamimages
+ - imagestreams
+ - imagestreamtags
+ verbs:
+ - get
+ - list
+ - watch
+- apiGroups:
+ - ""
+ - image.openshift.io
+ attributeRestrictions: null
+ resources:
+ - imagestreams/layers
+ verbs:
+ - get