EUGENIO SOUZA CARVALHO 3 years ago
parent
commit
508d73068c

argoworkflow/041-workflow-ingress.yaml → argoworkflow/workflow-ingress.yaml


argoworkflow/000-secret-github.yaml → argoworkflow/workflow/000-secret-github.yaml


+ 3 - 0
argoworkflow/001-workflow-acount.yaml

@@ -2,11 +2,13 @@ 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)
@@ -31,6 +33,7 @@ apiVersion: rbac.authorization.k8s.io/v1
 kind: RoleBinding
 metadata:
   name: workflow-binding
+  namespace: argo-events
 roleRef:
   apiGroup: rbac.authorization.k8s.io
   kind: Role

+ 1 - 0
argoworkflow/010-gateway-github.yaml

@@ -2,6 +2,7 @@ apiVersion: argoproj.io/v1alpha1
 kind: Gateway
 metadata:
   name: github
+  namespace: argo-events
 spec:
   type: github
   eventSourceRef:

argoworkflow/040-ingress.yaml → argoworkflow/workflow/020-ingress.yaml


argoworkflow/020-event-source-github.yaml → argoworkflow/workflow/030-event-source-github.yaml


argoworkflow/030-sensor-github.yaml → argoworkflow/workflow/040-sensor-github.yaml