apiVersion: v1 kind: ServiceAccount metadata: name: argo-runner --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: argo-runner-role rules: - apiGroups: ["argoproj.io"] resources: ["workflows", "workflowtasksets", "workflowtaskresults"] verbs: ["*"] - apiGroups: [""] resources: ["pods", "pods/log"] verbs: ["get", "list", "watch", "create", "update", "patch"] --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: argo-runner-rb subjects: - kind: ServiceAccount name: argo-runner roleRef: kind: Role name: argo-runner-role apiGroup: rbac.authorization.k8s.io