20-aggregated.clusterrole.yaml 748 B

1234567891011121314151617181920212223242526
  1. ##---
  2. # Source: olm/templates/20-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: ["*"]
  14. verbs: ["*"]
  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 "view" default roles
  22. rbac.authorization.k8s.io/aggregate-to-view: "true"
  23. rules:
  24. - apiGroups: ["operators.coreos.com"]
  25. resources: ["*"]
  26. verbs: ["get", "list", "watch"]