# permissions for end users to view controlplanes.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: controlplane-viewer-role
rules:
- apiGroups:
  - openstack.ospk8s.com
  resources:
  - controlplanes
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - openstack.ospk8s.com
  resources:
  - controlplanes/status
  verbs:
  - get
