This repository has been archived by the owner on Jul 30, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add expanded cluster-reader role rules
This is what I did to get the list of `cluster-reader` rules to add to the `clusterPermissions`: - on a current cluster, `oc get clusterrole cluster-reader -o yaml` - edit the file so that it contained just the list of rules - run through a python script to "de-dup" the rules For example, change this: ```yaml - apiGroups: - "" - route.openshift.io resources: - routes/status verbs: - get - list - watch - apiGroups: - "" - route.openshift.io resources: - routes verbs: - get - list - watch ``` to this ``` - apiGroups: - "" - route.openshift.io resources: - routes - routes/status verbs: - get - list - watch ``` There were several such cases in the cluster-reader role definition.
- Loading branch information