1234567891011121314151617181920212223242526 |
- ##---
- # Source: olm/templates/20-aggregated.clusterrole.yaml
- kind: ClusterRole
- apiVersion: rbac.authorization.k8s.io/v1
- metadata:
- name: aggregate-olm-edit
- labels:
- # Add these permissions to the "admin" and "edit" default roles.
- rbac.authorization.k8s.io/aggregate-to-admin: "true"
- rbac.authorization.k8s.io/aggregate-to-edit: "true"
- rules:
- - apiGroups: ["operators.coreos.com"]
- resources: ["*"]
- verbs: ["*"]
- ---
- kind: ClusterRole
- apiVersion: rbac.authorization.k8s.io/v1
- metadata:
- name: aggregate-olm-view
- labels:
- # Add these permissions to the "view" default roles
- rbac.authorization.k8s.io/aggregate-to-view: "true"
- rules:
- - apiGroups: ["operators.coreos.com"]
- resources: ["*"]
- verbs: ["get", "list", "watch"]
|