# permissions for end users to view keptnworkloads.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: keptnworkload-viewer-role
rules:
  - apiGroups:
      - lifecycle.keptn.sh
    resources:
      - keptnworkloads
    verbs:
      - get
      - list
      - watch
  - apiGroups:
      - lifecycle.keptn.sh
    resources:
      - keptnworkloads/status
    verbs:
      - get
