File tree Expand file tree Collapse file tree 1 file changed +36
-20
lines changed
csdp/base_components/apps/argo-workflows/_components/codefresh-base Expand file tree Collapse file tree 1 file changed +36
-20
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : kustomize.config.k8s.io/v1alpha1
2
2
kind : Component
3
3
resources :
4
- - https://github.com/codefresh-io/argo-workflows/releases/download/v3.4.4-cf/install.yaml
5
-
4
+ - https://github.com/codefresh-io/argo-workflows/releases/download/v3.2.6-cap-CR-8697/install.yaml
6
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
15
+
7
16
- target :
8
17
group : apps
9
18
version : v1
@@ -13,22 +22,29 @@ patches:
13
22
- op: add
14
23
path: /spec/template/spec/containers/0/args/-
15
24
value: --auth-mode=server
16
- - target :
17
- version : v1
18
- kind : ConfigMap
25
+
26
+ patchesStrategicMerge :
27
+ - |
28
+ apiVersion: v1
29
+ kind: ConfigMap
30
+ metadata:
19
31
name: workflow-controller-configmap
20
- patch : |-
21
- - op: add
22
- path: /data
23
- value:
24
- workflowDefaults: |
25
- spec:
26
- ttlStrategy:
27
- secondsAfterCompletion: 86400
28
- secondsAfterSuccess: 86400
29
- secondsAfterFailure: 86400
30
- podGC:
31
- strategy: OnWorkflowCompletion
32
- labelSelector:
33
- matchLabels:
34
- should-be-deleted: "true"
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
You can’t perform that action at this time.
0 commit comments