|
@@ -2,13 +2,11 @@ apiVersion: v1
|
|
|
kind: ServiceAccount
|
|
|
metadata:
|
|
|
name: workflow
|
|
|
- namespace: argo-events
|
|
|
---
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
kind: Role
|
|
|
metadata:
|
|
|
name: workflow-role
|
|
|
- namespace: argo-events
|
|
|
rules:
|
|
|
# pod get/watch is used to identify the container IDs of the current pod
|
|
|
# pod patch is used to annotate the step's outputs back to controller (e.g. artifact location)
|
|
@@ -33,7 +31,6 @@ apiVersion: rbac.authorization.k8s.io/v1
|
|
|
kind: RoleBinding
|
|
|
metadata:
|
|
|
name: workflow-binding
|
|
|
- namespace: argo-events
|
|
|
roleRef:
|
|
|
apiGroup: rbac.authorization.k8s.io
|
|
|
kind: Role
|