apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: executor
  annotations:
    workflows.argoproj.io/description: |
      Recomended minimum permissions for `pns` executor.
rules:
  - apiGroups:
      - ""
    resources:
      - pods
    verbs:
      - patch
      - watch
  - apiGroups:
      - ""
    resources:
      - pods/log
    verbs:
      - get