# permissions for end users to edit keptnworkloadinstances.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: keptnworkloadinstance-editor-role
rules:
  - apiGroups:
      - lifecycle.keptn.sh
    resources:
      - keptnworkloadinstances
    verbs:
      - create
      - delete
      - get
      - list
      - patch
      - update
      - watch
  - apiGroups:
      - lifecycle.keptn.sh
    resources:
      - keptnworkloadinstances/status
    verbs:
      - get
