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