-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathkustomization.yaml
More file actions
executable file
·104 lines (101 loc) · 2.36 KB
/
Copy pathkustomization.yaml
File metadata and controls
executable file
·104 lines (101 loc) · 2.36 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- base/projects/apps.yaml
- base/projects/cluster.yaml
- base/projects/core.yaml
- base/projects/monitoring.yaml
- base/utilities/reflector.yaml
- base/core/nginx.yaml
- base/core/ingress.yaml
- base/apps/example.yaml
- base/core/argocd.yaml
- github.com/argoproj/argo-cd/manifests/cluster-install?ref=v3.4.5
namespace: argocd
images:
- name: quay.io/argoproj/argocd
newTag: v2.14.20
patches:
- patch: |-
- op: replace
path: "/metadata/namespace"
value: "monitoring"
target:
kind: ServiceMonitor
- patch: |-
- op: add
path: "/spec/strategy"
value:
type: "Recreate"
- op: replace
path: "/spec/template/spec/serviceAccountName"
value: "argocd-server"
target:
kind: Deployment
name: argocd-server
- patch: |
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: argocd-application-controller
spec:
template:
spec:
containers:
- name: argocd-application-controller
resources:
limits:
memory: 512Mi
requests:
cpu: 50m
memory: 256Mi
- patch: |
apiVersion: apps/v1
kind: Deployment
metadata:
name: argocd-redis
spec:
replicas: 1
strategy:
type: Recreate
template:
spec:
containers:
- name: redis
resources:
limits:
memory: 256Mi
requests:
cpu: 50m
memory: 128Mi
initContainers:
- name: secret-init
resources:
limits:
memory: 128Mi
requests:
cpu: 50m
memory: 128Mi
- patch: |
apiVersion: apps/v1
kind: Deployment
metadata:
name: argocd-repo-server
spec:
replicas: 1
strategy:
type: Recreate
template:
spec:
containers:
- name: argocd-repo-server
resources:
limits:
memory: 512Mi
requests:
cpu: 50m
memory: 256Mi
- path: overlay/argocd-svc.yaml
- path: overlay/argocd-rbac.yaml
- path: overlay/argocd-cm.yaml
- path: overlay/argocd-cr.yaml