Skip to content

Commit 21c372e

Browse files
committed
updated manifests
1 parent 2981461 commit 21c372e

File tree

1 file changed

+51
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)