-
Notifications
You must be signed in to change notification settings - Fork 0
/
kustomization.yaml
104 lines (101 loc) · 2.46 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
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
namespace: argocd
resources:
- github.com/argoproj/argo-cd/manifests/ha/cluster-install?ref=v2.13.2
- argocd-oidc.yml
- argocd-notifications-secret.yml
- ingress.yml
patches:
- path: argocd-server-update-patch.yml
target:
group: apps
version: v1
kind: Deployment
name: argocd-server
- path: argocd-repo-server-update-patch.yml
target:
group: apps
version: v1
kind: Deployment
name: argocd-repo-server
- path: argocd-notifications-cm.yml
target:
kind: ConfigMap
name: argocd-notifications-cm
- patch: |-
$patch: delete
apiVersion: v1
kind: Secret
metadata:
name: argocd-notifications-secret
- patch: |-
apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-cm
data:
application.instanceLabelKey: argocd.argoproj.io/instance
kustomize.buildOptions: --enable-helm --load-restrictor=LoadRestrictionsNone
url: https://argocd.simulatan.me
admin.enabled: "false"
oidc.config: |
name: Authelia
issuer: https://auth.simulatan.me
clientID: argocd
clientSecret: $argocd-oidc:oidc.authelia.clientSecret
cliClientID: argocd-cli
requestedScopes:
- openid
- profile
- email
- groups
- patch: |-
apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-rbac-cm
data:
policy.csv: |
g, argocd-admin, role:admin
- patch: |-
apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-cmd-params-cm
data:
server.insecure: "true"
- patch: |-
apiVersion: apps/v1
kind: Deployment
metadata:
name: argocd-server
spec:
replicas: 2
- patch: |-
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: argocd-redis-ha-server
spec:
replicas: 2
- patch: |-
apiVersion: apps/v1
kind: Deployment
metadata:
name: argocd-redis-ha-haproxy
spec:
replicas: 2
- patch: |-
apiVersion: apps/v1
kind: Deployment
metadata:
name: argocd-notifications-controller
spec:
template:
spec:
containers:
- name: argocd-notifications-controller
env:
- name: TZ
value: Europe/Vienna