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