diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2017-10-11 07:59:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-11 07:59:35 -0700 |
commit | 0db302a8eb8cef17fe20ef651cad6e4cb3308d2b (patch) | |
tree | 629a58342f5799856d13321c61b90943e574aff3 /playbooks/common/openshift-cluster/upgrades/files/shared_resource_viewer_role.yaml | |
parent | b35eb14f85fab4a8f1411feb43a563b19c73c438 (diff) | |
parent | e88832c4040ada5a98857a88b06070a009438b4a (diff) | |
download | openshift-0db302a8eb8cef17fe20ef651cad6e4cb3308d2b.tar.gz openshift-0db302a8eb8cef17fe20ef651cad6e4cb3308d2b.tar.bz2 openshift-0db302a8eb8cef17fe20ef651cad6e4cb3308d2b.tar.xz openshift-0db302a8eb8cef17fe20ef651cad6e4cb3308d2b.zip |
Merge pull request #5617 from simo5/up36role
Automatic merge from submit-queue.
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.
Diffstat (limited to 'playbooks/common/openshift-cluster/upgrades/files/shared_resource_viewer_role.yaml')
-rw-r--r-- | playbooks/common/openshift-cluster/upgrades/files/shared_resource_viewer_role.yaml | 37 |
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 |