-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kustomization.yaml
46 lines (43 loc) · 1.14 KB
/
kustomization.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- argocd.yaml
patchesStrategicMerge:
- |-
apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-cm
data:
configManagementPlugins: |
- name: templatize
generate:
command: ["/custom-tools/templatize"]
args: []
patchesJson6902:
- target:
version: v1
kind: Deployment
name: argocd-repo-server
patch: |-
- op: add
path: /spec/template/spec/volumes/-
value:
emptyDir: {}
name: custom-tools
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
mountPath: /custom-tools
name: custom-tools
- op: add
path: /spec/template/spec/initContainers
value:
- name: download-templatize
image: alpine:3.8
command: [sh, -c]
args:
- "wget -qO /custom-tools/templatize https://github.com/Jille/argocd-templatize/releases/latest/download/argocd-templatize-linux-amd64 && chmod 555 /custom-tools/templatize"
volumeMounts:
- mountPath: /custom-tools
name: custom-tools