Skip to content

Commit ce2330b

Browse files
upgrade argo-workflows to 3.4 (#144)
* =upgrade argo-workflows * fix changed ns * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * prepare for merge * wip * prepare for merge * update tag to 3.4.4
1 parent d5dfc7a commit ce2330b

File tree

1 file changed

+20
-36
lines changed

1 file changed

+20
-36
lines changed
Lines changed: 20 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
11
apiVersion: kustomize.config.k8s.io/v1alpha1
22
kind: Component
33
resources:
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
4+
- https://github.com/codefresh-io/argo-workflows/releases/download/v3.4.4-cf/install.yaml
155

6+
patches:
167
- target:
178
group: apps
189
version: v1
@@ -22,29 +13,22 @@ patches:
2213
- op: add
2314
path: /spec/template/spec/containers/0/args/-
2415
value: --auth-mode=server
25-
26-
patchesStrategicMerge:
27-
- |
28-
apiVersion: v1
29-
kind: ConfigMap
30-
metadata:
16+
- target:
17+
version: v1
18+
kind: ConfigMap
3119
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
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"

0 commit comments

Comments
 (0)