apiVersion: v1 kind: ServiceAccount metadata: namespace: argo-events name: workflow-pods-sa --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: workflow-pods-role rules: - apiGroups: - "" verbs: - "*" resources: - pods --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: workflow-pods-role-binding roleRef: apiGroup: rbac.authorization.k8s.io kind: Role name: workflow-pods-role subjects: - kind: ServiceAccount name: workflow-pods-sa namespace: argo-events