github.com/operator-framework/operator-lifecycle-manager@v0.30.0/deploy/upstream/manifests/0.8.1/0000_50_olm_08-aggregated.clusterrole.yaml (about) 1 --- 2 # Source: olm/templates/0000_50_olm_08-aggregated.clusterrole.yaml 3 kind: ClusterRole 4 apiVersion: rbac.authorization.k8s.io/v1 5 metadata: 6 name: aggregate-olm-edit 7 labels: 8 # Add these permissions to the "admin" and "edit" default roles. 9 rbac.authorization.k8s.io/aggregate-to-admin: "true" 10 rbac.authorization.k8s.io/aggregate-to-edit: "true" 11 rules: 12 - apiGroups: ["operators.coreos.com"] 13 resources: ["clusterserviceversions", "catalogsources", "installplans", "subscriptions", "packagemanifests"] 14 verbs: ["create", "update", "patch", "delete"] 15 --- 16 kind: ClusterRole 17 apiVersion: rbac.authorization.k8s.io/v1 18 metadata: 19 name: aggregate-olm-view 20 labels: 21 # Add these permissions to the "admin", "edit" and "view" default roles 22 rbac.authorization.k8s.io/aggregate-to-admin: "true" 23 rbac.authorization.k8s.io/aggregate-to-edit: "true" 24 rbac.authorization.k8s.io/aggregate-to-view: "true" 25 rules: 26 - apiGroups: ["operators.coreos.com"] 27 resources: ["clusterserviceversions", "catalogsources", "installplans", "subscriptions", "packagemanifests"] 28 verbs: ["get", "list", "watch"]