-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yaml
405 lines (390 loc) · 8.97 KB
/
main.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
##
# GLOBAL CONFIGURATIONS
##
domain: tatooine.dev
##
# SERVICE MESH (Istio, Istio Operator, Kiali)
##
istio:
enabled: true
gateways:
public:
tls:
mode: MUTUAL
cert: "" # set in secrets overlay
key: "" # set in secrets overlay
ca: "" # set in secrets overlay
values:
hub: cgr.dev/chainguard
tag: latest
values:
pilot:
image: istio-pilot
global:
proxy:
image: istio-proxy
proxy_init:
image: istio-proxy
postInstallHook:
image: cgr.dev/chainguard/kubectl
tag: latest
istioOperator:
enabled: true
values:
hub: cgr.dev/chainguard
image: istio-operator
tag: latest
kiali:
enabled: false
##
# LOGGING (Loki, Promtail)
##
loki:
enabled: true
strategy: "monolith"
values:
minio:
enabled: false
loki:
image:
registry: cgr.dev
repository: chainguard/loki
tag: latest
gateway:
image:
registry: cgr.dev
repository: chainguard/nginx
tag: latest
sidecar:
image:
registry: cgr.dev
repository: chainguard/k8s-sidecar
tag: latest
promtail:
enabled: true
values:
image:
registry: cgr.dev
repository: chainguard/promtail
tag: latest
sidecar:
configReloader:
image:
registry: cgr.dev
repository: chainguard/configmap-reload
tag: latest
##
# POLICY ENFORCEMENT (Kyverno, Kyverno Policies, Kyverno Reporter)
##
kyverno:
enabled: true
values:
image:
registry: cgr.dev
repository: chainguard/kyverno
tag: latest
admissionController:
initContainer:
image:
registry: cgr.dev
repository: chainguard/kyvernopre
tag: latest
container:
image:
registry: cgr.dev
repository: chainguard/kyverno
tag: latest
webhooksCleanup:
image:
registry: cgr.dev
repository: chainguard/kubectl
tag: latest-dev
policyReportsCleanup:
image:
registry: cgr.dev
repository: chainguard/kubectl
tag: latest-dev
backgroundController:
image:
registry: cgr.dev
repository: chainguard/kyverno-background-controller
tag: latest
cleanupController:
image:
registry: cgr.dev
repository: chainguard/kyverno-cleanup-controller
tag: latest
reportsController:
image:
registry: cgr.dev
repository: chainguard/kyverno-reports-controller
tag: latest
cleanupJobs:
admissionReports:
image:
registry: cgr.dev
repository: chainguard/kubectl
tag: latest-dev
clusterAdmissionReports:
image:
registry: cgr.dev
repository: chainguard/kubectl
tag: latest-dev
kyvernoPolicies:
enabled: true
values:
policies:
disallow-image-tags:
validationFailureAction: audit
disallow-shared-subpath-volume-writes:
validationFailureAction: audit
restrict-host-ports:
validationFailureAction: audit
restrict-capabilities:
validationFailureAction: audit
restrict-image-registries:
validationFailureAction: audit
parameters:
allow:
- cgr.dev
disallow-host-namespaces:
validationFailureAction: audit
disallow-privileged-containers:
validationFailureAction: audit
require-non-root-user:
validationFailureAction: audit
restrict-host-path-mount-pv:
validationFailureAction: audit
waitforready:
image:
repository: cgr.dev/chainguard/kubectl
tag: latest-dev
kyvernoReporter:
enabled: true
values:
image:
registry: cgr.dev
repository: chainguard/kyverno-policy-reporter
tag: latest
##
# MONITORING (Prometheus, Grafana)
##
monitoring:
enabled: true
values:
alertmanager:
alertmanagerSpec:
image:
repository: chainguard/alertmanager
tag: latest
registry: cgr.dev
grafana:
sidecar:
image:
repository: cgr.dev/chainguard/k8s-sidecar
tag: latest
resources:
limits:
cpu: 500m
memory: 500Mi
requests:
cpu: 100m
memory: 100Mi
image:
registry: cgr.dev
repository: chainguard/grafana
tag: latest
downloadDashboardsImage:
repository: cgr.dev/chainguard/curl
tag: latest-dev
kube-state-metrics:
image:
registry: cgr.dev
repository: chainguard/kube-state-metrics
tag: latest
prometheus:
prometheusSpec:
image:
repository: chainguard/prometheus
tag: latest
registry: cgr.dev
prometheusOperator:
admissionWebhooks:
cleanupProxy:
image:
registry: cgr.dev
repository: chainguard/curl
tag: latest
patch:
image:
registry: cgr.dev
repository: chainguard/kube-webhook-certgen
tag: latest@sha256:fc0791df5584c2cae64ecfdeb8ae98f38d07822939f80c0bd7379892bc90e6e7
enabled: true
image:
registry: cgr.dev
repository: chainguard/prometheus-operator
tag: latest
thanosImage:
registry: cgr.dev
repository: chainguard/thanos
tag: latest
prometheusConfigReloader:
image:
registry: cgr.dev
repository: chainguard/prometheus-config-reloader
tag: latest
thanosImage:
registry: cgr.dev
repository: chainguard/thanos
tag: latest
kubectlImage:
registry: cgr.dev
repository: chainguard/kubectl
tag: latest-dev
prometheus-node-exporter:
image:
registry: cgr.dev
repository: chainguard/prometheus-node-exporter
tag: latest
version: 1.7.0
thanosRuler:
thanosRulerSpec:
image:
registry: cgr.dev
repository: chainguard/thanos
tag: latest
grafana:
enabled: true
values:
sidecar:
image:
repository: chainguard/k8s-sidecar
tag: latest
resources:
limits:
cpu: 500m
memory: 500Mi
requests:
cpu: 100m
memory: 100Mi
global:
imageRegistry: cgr.dev
image:
repository: chainguard/grafana
tag: latest
downloadDashboardsImage:
repository: chainguard/curl
tag: latest-dev
##
# DISTRIBUTED TRACING (Tempo)
##
tempo:
enabled: false
##
# RUNTIME SECURITY (Neuvector)
##
neuvector:
enabled: false
values:
registry: cgr.dev
tag: latest
global:
azure:
images:
controller:
registry: cgr.dev
image: chainguard/neuvector-controller
digest: latest
manager:
registry: cgr.dev
image: chainguard/neuvector-manager
digest: latest
scanner:
registry: cgr.dev
image: chainguard/neuvector-scanner
digest: latest
enforcer:
registry: cgr.dev
image: chainguard/neuvector-enforcer
digest: latest
controller:
image:
repository: chainguard/neuvector-controller
enforcer:
image:
repository: chainguard/neuvector-enforcer
manager:
image:
repository: chainguard/neuvector-manager
cve:
adapter:
image:
repository: chainguard/neuvector-registry-adapter
updater:
image:
repository: ironbank/big-bang/base
scanner:
image:
repository: chainguard/neuvector-scanner
##
# ADDONS (Metrics Server)
##
addons:
metricsServer:
enabled: auto
values:
image:
repository: cgr.dev/chainguard/metrics-server
tag: latest
args:
- "--kubelet-insecure-tls"
##
# CUSTOM PACKAGES
##
helmRepositories:
- name: cosmology-charts
repository: "oci://registry.gitlab.com/willswire/cosmology/charts"
type: "oci"
username: ""
password: ""
email: ""
- name: shadows-edge-charts
repository: "oci://registry.gitlab.com/90cos"
type: "oci"
username: ""
password: ""
email: ""
packages:
clip:
enabled: true
wrapper:
enabled: true
helmRepo:
repoName: cosmology-charts
chartName: clip
tag: 0.2.0
dependsOn:
- name: istio
namespace: bigbang
secrets:
- name: cloudflare-credentials
data:
AUTH_KEY: "" # set in secrets overlay
ZONE_ID: "" # set in secrets overlay
underhill:
enabled: true
wrapper:
enabled: true
istio:
injection: "disabled"
helmRepo:
repoName: shadows-edge-charts
chartName: underhill
tag: '0.0.x-dev'
dependsOn:
- name: istio
namespace: bigbang
values:
domain: tatooine.dev
gateway: istio-system/public