11apiVersion : kustomize.config.k8s.io/v1alpha1
22kind : Component
3+ namespace : default
34resources :
4- - https://github.com/codefresh-io/argo-workflows/releases/download/v3.2.6-cap-CR-8697/install.yaml
5- patches :
6- # reset the crbs to `subject.namespace: default`, so that argo-cd will later change them to the actual ns
7- - target :
8- group : rbac.authorization.k8s.io
9- version : v1
10- kind : ClusterRoleBinding
11- patch : |-
12- - op: replace
13- path: /subjects/0/namespace
14- value: default
5+ - https://github.com/codefresh-io/argo-workflows/releases/download/v3.4-cap-CR-15902/install.yaml
156
7+ patches :
168 - target :
179 group : apps
1810 version : v1
@@ -22,29 +14,22 @@ patches:
2214 - op: add
2315 path: /spec/template/spec/containers/0/args/-
2416 value: --auth-mode=server
25-
26- patchesStrategicMerge :
27- - |
28- apiVersion: v1
29- kind: ConfigMap
30- metadata:
17+ - target :
18+ version : v1
19+ kind : ConfigMap
3120 name : workflow-controller-configmap
32- data:
33- # Fields reference can be found here: https://argoproj.github.io/argo-workflows/workflow-controller-configmap.yaml
34- workflowDefaults: |
35- spec:
36- ttlStrategy:
37- secondsAfterCompletion: 86400
38- secondsAfterSuccess: 86400
39- secondsAfterFailure: 86400
40- podGC:
41- strategy: OnWorkflowCompletion
42- labelSelector:
43- matchLabels:
44- should-be-deleted: "true"
45-
46- configMapGenerator :
47- - name : workflow-controller-configmap
48- behavior : merge
49- literals :
50- - containerRuntimeExecutor=emissary
21+ patch : |-
22+ - op: add
23+ path: /data
24+ value:
25+ workflowDefaults: |
26+ spec:
27+ ttlStrategy:
28+ secondsAfterCompletion: 86400
29+ secondsAfterSuccess: 86400
30+ secondsAfterFailure: 86400
31+ podGC:
32+ strategy: OnWorkflowCompletion
33+ labelSelector:
34+ matchLabels:
35+ should-be-deleted: "true"
0 commit comments