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