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