Skip to content

Commit 7f5929b

Browse files
Revert "upgrade argo-workflows to 3.4 (#144)"
This reverts commit ce2330b.
1 parent 2ddb9ac commit 7f5929b

File tree

1 file changed

+36
-20
lines changed

1 file changed

+36
-20
lines changed
Lines changed: 36 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
apiVersion: kustomize.config.k8s.io/v1alpha1
22
kind: Component
33
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
65
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+
716
- target:
817
group: apps
918
version: v1
@@ -13,22 +22,29 @@ patches:
1322
- op: add
1423
path: /spec/template/spec/containers/0/args/-
1524
value: --auth-mode=server
16-
- target:
17-
version: v1
18-
kind: ConfigMap
25+
26+
patchesStrategicMerge:
27+
- |
28+
apiVersion: v1
29+
kind: ConfigMap
30+
metadata:
1931
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

0 commit comments

Comments
 (0)