Repository navigation
Expand file tree
/
Copy pathrenovate.json5
More file actions
709 lines (709 loc) · 33 KB
/
Copy pathrenovate.json5
File metadata and controls
709 lines (709 loc) · 33 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
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
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
{
// Renovate config for krops (issue #74).
// Runs via the hosted Renovate GitHub App (issue #90).
// Version sources covered:
// - Flux / Helm / Kubernetes manifests under mgmt/ and workload/
// - GitHub Actions workflow action pins (.github/workflows/)
// - mise tool pins (explicit per-tool custom managers below; the native
// mise manager is disabled so dep resolution is deterministic)
// - clusterctl operator provider manifests under mgmt/*/capi-providers/
// - kind node images (cluster classes, airgap scripts, image inventory)
// - airgap image inventory and zarf.yaml image lists
// - annotated chart pins in bootstrap.toml (consumed by the Rust binary)
// - the shared flux-operator HelmChartProxy base under mgmt/shared/
// - imperative Helm chart pins in pivot.sh
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":dependencyDashboard",
":semanticCommits",
":disableRateLimiting"
],
"schedule": ["after 6am on monday"],
"timezone": "Europe/Helsinki",
"rangeStrategy": "pin",
"separateMajorMinor": false,
"commitBody": "Refs: #74",
"suppressNotifications": ["prEditedNotification", "prIgnoreNotification"],
"rebaseWhen": "conflicted",
"ignorePaths": [
"airgap/rendered/**",
"airgap/archives/**",
"airgap/sbom/**",
"airgap/manifests/**"
],
"flux": {
"managerFilePatterns": ["/(^|/)(mgmt|workload)/.+\\.ya?ml$/"]
},
"kubernetes": {
"managerFilePatterns": ["/(^|/)(mgmt|workload)/.+\\.ya?ml$/"]
},
"helm-values": {
"managerFilePatterns": ["/(^|/)(mgmt|workload)/.+\\.ya?ml$/"]
},
// Explicit per-tool custom managers replace the native mise manager so each
// tool resolves against the exact upstream GitHub repo we install from.
"mise": {
"enabled": false
},
"customManagers": [
// ── mise tool pins ────────────────────────────────────────────────────
{
"customType": "regex",
"description": "mise: go toolchain pin",
"managerFilePatterns": ["/(^|/)mise\\.toml$/"],
"matchStrings": ["go = \"(?<currentValue>[^\"]+)\""],
"depNameTemplate": "golang",
"datasourceTemplate": "golang-version",
"versioningTemplate": "loose",
"autoReplaceStringTemplate": "go = \"{{newValue}}\""
},
{
"customType": "regex",
"description": "mise: python toolchain pin",
"managerFilePatterns": ["/(^|/)mise\\.toml$/"],
"matchStrings": ["python = \"(?<currentValue>[^\"]+)\""],
"depNameTemplate": "python/cpython",
"datasourceTemplate": "github-tags",
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": "python = \"{{newValue}}\""
},
{
"customType": "regex",
"description": "mise: uv pin (docs site build)",
"managerFilePatterns": ["/(^|/)mise\\.toml$/"],
"matchStrings": ["uv = \"(?<currentValue>[^\"]+)\""],
"depNameTemplate": "astral-sh/uv",
"datasourceTemplate": "github-releases",
"autoReplaceStringTemplate": "uv = \"{{newValue}}\""
},
{
"customType": "regex",
"description": "mise: kubectl version pin",
"managerFilePatterns": ["/(^|/)mise\\.toml$/"],
"matchStrings": ["kubectl = \"(?<currentValue>[^\"]+)\""],
"depNameTemplate": "kubernetes/kubernetes",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": "kubectl = \"{{newValue}}\""
},
{
"customType": "regex",
"description": "mise: kind version pin",
"managerFilePatterns": ["/(^|/)mise\\.toml$/"],
"matchStrings": ["kind = \"(?<currentValue>[^\"]+)\""],
"depNameTemplate": "kubernetes-sigs/kind",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": "kind = \"{{newValue}}\""
},
{
"customType": "regex",
"description": "mise: helm version pin",
"managerFilePatterns": ["/(^|/)mise\\.toml$/"],
"matchStrings": ["helm = \"(?<currentValue>[^\"]+)\""],
"depNameTemplate": "helm/helm",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": "helm = \"{{newValue}}\""
},
{
"customType": "regex",
"description": "mise: clusterctl version pin",
"managerFilePatterns": ["/(^|/)mise\\.toml$/"],
"matchStrings": ["clusterctl = \"(?<currentValue>[^\"]+)\""],
"depNameTemplate": "kubernetes-sigs/cluster-api",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": "clusterctl = \"{{newValue}}\""
},
{
"customType": "regex",
"description": "mise: flux2 CLI pin (floating latest tag)",
"managerFilePatterns": ["/(^|/)mise\\.toml$/"],
"matchStrings": ["flux2 = \"(?<currentValue>[^\"]+)\""],
"depNameTemplate": "fluxcd/flux2",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": "flux2 = \"{{newValue}}\""
},
{
"customType": "regex",
"description": "mise: sops pin (floating latest tag)",
"managerFilePatterns": ["/(^|/)mise\\.toml$/"],
"matchStrings": ["sops = \"(?<currentValue>[^\"]+)\""],
"depNameTemplate": "getsops/sops",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": "sops = \"{{newValue}}\""
},
{
"customType": "regex",
"description": "mise: age pin (floating latest tag)",
"managerFilePatterns": ["/(^|/)mise\\.toml$/"],
"matchStrings": ["age = \"(?<currentValue>[^\"]+)\""],
"depNameTemplate": "FiloSottile/age",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": "age = \"{{newValue}}\""
},
{
"customType": "regex",
"description": "mise: zarf CLI pin (github backend)",
"managerFilePatterns": ["/(^|/)mise\\.toml$/"],
"matchStrings": ["\\[tools\\.\"github:zarf-dev/zarf\"\\]\\nversion = \"(?<currentValue>[^\"]+)\""],
"depNameTemplate": "zarf-dev/zarf",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)"
},
{
"customType": "regex",
"description": "mise: min_version self-pin",
"managerFilePatterns": ["/(^|/)mise\\.toml$/"],
"matchStrings": ["min_version = \"(?<currentValue>[^\"]+)\""],
"depNameTemplate": "jdx/mise",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": "min_version = \"{{newValue}}\""
},
{
"customType": "regex",
"description": "toolbox image: mise CLI pin (issue #104)",
"managerFilePatterns": ["bootstrap-rs/Dockerfile"],
"matchStrings": ["ARG MISE_VERSION=(?<currentValue>[0-9][^\\s]*)"],
"depNameTemplate": "jdx/mise",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": "ARG MISE_VERSION={{newValue}}"
},
{
"customType": "regex",
"description": "toolbox image: podman remote client pin (issue #104)",
"managerFilePatterns": ["bootstrap-rs/Dockerfile"],
"matchStrings": ["ARG PODMAN_VERSION=(?<currentValue>[0-9][^\\s]*)"],
"depNameTemplate": "containers/podman",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": "ARG PODMAN_VERSION={{newValue}}"
},
{
"customType": "regex",
"description": "mise: aws-cli pin (floating latest tag)",
"managerFilePatterns": ["/(^|/)mise\\.aws\\.toml$/"],
"matchStrings": ["aws-cli = \"(?<currentValue>[^\"]+)\""],
"depNameTemplate": "aws/aws-cli",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": "aws-cli = \"{{newValue}}\""
},
{
"customType": "regex",
"description": "mise: clusterawsadm pin (inline table form)",
"managerFilePatterns": ["/(^|/)mise\\.aws\\.toml$/"],
"matchStrings": ["clusterawsadm = \\{ version = \"(?<currentValue>[^\"]+)\""],
"depNameTemplate": "kubernetes-sigs/cluster-api-provider-aws",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": "clusterawsadm = { version = \"{{newValue}}\""
},
{
"customType": "regex",
"description": "mise: talosctl pin (local-talos environment layer, issue #105)",
"managerFilePatterns": ["/(^|/)mise\\.local-talos\\.toml$/"],
"matchStrings": ["talosctl = \"(?<currentValue>[^\"]+)\""],
"depNameTemplate": "siderolabs/talos",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": "talosctl = \"{{newValue}}\""
},
{
"customType": "regex",
"description": "mise: azure-cli pin (pipx backend, azure environment layer, issue #71)",
"managerFilePatterns": ["/(^|/)mise\\.azure\\.toml$/"],
"matchStrings": ["\"pipx:azure-cli\" = \"(?<currentValue>[^\"]+)\""],
"depNameTemplate": "azure-cli",
"datasourceTemplate": "pypi",
"autoReplaceStringTemplate": "\"pipx:azure-cli\" = \"{{newValue}}\""
},
{
"customType": "regex",
"description": "mise: gcloud pin (gcp environment layer, issue #72); the gcr.io google-cloud-cli image tags mirror the SDK releases",
"managerFilePatterns": ["/(^|/)mise\\.gcp\\.toml$/"],
"matchStrings": ["gcloud = \"(?<currentValue>[^\"]+)\""],
"depNameTemplate": "gcr.io/google.com/cloudsdktool/google-cloud-cli",
"datasourceTemplate": "docker",
"versioningTemplate": "semver",
"autoReplaceStringTemplate": "gcloud = \"{{newValue}}\""
},
{
"customType": "regex",
"description": "mise: node toolchain pin (hosts the npm:markdownlint-cli2 tool, #243)",
"managerFilePatterns": ["/(^|/)mise\\.toml$/"],
"matchStrings": ["node = \"(?<currentValue>[^\"]+)\""],
"depNameTemplate": "nodejs/node",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": "node = \"{{newValue}}\""
},
{
"customType": "regex",
"description": "mise: markdownlint-cli2 pin (npm backend, #243)",
"managerFilePatterns": ["/(^|/)mise\\.toml$/"],
"matchStrings": ["\"npm:markdownlint-cli2\" = \"(?<currentValue>[^\"]+)\""],
"depNameTemplate": "markdownlint-cli2",
"datasourceTemplate": "npm",
"autoReplaceStringTemplate": "\"npm:markdownlint-cli2\" = \"{{newValue}}\""
},
// ── bootstrap.toml chart pins (annotation-driven) ─────────────────────
// Datasource and depName live in `# renovate:` comments next to the
// chart pins in bootstrap.toml (consumed by the Rust binary since the
// #98 externalization); this one manager covers every annotated pin
// without per-dependency configuration.
{
"customType": "regex",
"description": "Annotated chart pins in bootstrap.toml",
"managerFilePatterns": ["/(^|/)bootstrap\\.toml$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z0-9-]+)(?: registryUrl=(?<registryUrl>\\S+))? depName=(?<depName>\\S+)(?: versioning=(?<versioning>[a-z0-9-]+))?\\n[a-zA-Z0-9_-]+ = \\\"(?<currentValue>[^\\\"]+)\\\""
]
},
{
"customType": "regex",
"description": "shared flux-operator HelmChartProxy chart pin (issue #244)",
"managerFilePatterns": [
"/(^|/)mgmt/shared/flux-apps/flux-operator/flux-operator\\.yaml$/"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z0-9-]+) depName=(?<depName>\\S+)\\n\\s+version: \"(?<currentValue>[^\"]+)\""
]
},
{
"customType": "regex",
"description": "Annotated version pins in provider manifests (local-talos #157, CAPG fork #641)",
"managerFilePatterns": [
"/(^|/)mgmt/local-talos/.+\\.ya?ml$/",
"/(^|/)mgmt/gcp/capi-providers/capg-system/.+\\.ya?ml$/"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z0-9-]+) depName=(?<depName>\\S+)\\n\\s{2,}version: \\\"v(?<currentValue>[^\\\"]+)\\\""
],
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": "# renovate: datasource={{{datasource}}} depName={{{depName}}}\n version: \"v{{{newValue}}}\""
},
{
"customType": "regex",
"description": "local-talos talosVersion machine-config contract pin (#157)",
"managerFilePatterns": ["/(^|/)mgmt/local-talos/clusters/management/cluster\\.yaml$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z0-9-]+) depName=(?<depName>siderolabs/talos)\\n\\s+talosVersion: v(?<currentValue>[0-9]+\\.[0-9]+)"
],
"extractVersionTemplate": "^v(?<version>\\d+\\.\\d+)",
"versioningTemplate": "loose",
"autoReplaceStringTemplate": "# renovate: datasource={{{datasource}}} depName={{{depName}}}\n talosVersion: v{{{newValue}}}"
},
{
"customType": "regex",
"description": "pivot.sh imperative Helm chart pins",
"managerFilePatterns": ["/(^|/)pivot\\.sh$/"],
"matchStrings": [
"CERT_MANAGER_VERSION=\"(?<currentValue>[^\"]+)\""
],
"depNameTemplate": "cert-manager",
"datasourceTemplate": "helm",
"autoReplaceStringTemplate": "CERT_MANAGER_VERSION=\"{{newValue}}\""
},
{
"customType": "regex",
"description": "pivot.sh imperative Helm chart pins",
"managerFilePatterns": ["/(^|/)pivot\\.sh$/"],
"matchStrings": [
"CAPI_OPERATOR_VERSION=\"(?<currentValue>[^\"]+)\""
],
"depNameTemplate": "cluster-api-operator",
"datasourceTemplate": "helm",
"autoReplaceStringTemplate": "CAPI_OPERATOR_VERSION=\"{{newValue}}\""
},
// ── CI Renovate CLI pin ──────────────────────────────────────────────
{
"customType": "regex",
"description": "Renovate CLI version used by CI digest-pinning and chart-pin tests",
"managerFilePatterns": ["/(^|/)\\.github/workflows/validate\\.yml$/"],
"matchStrings": ["renovate@(?<currentValue>[0-9][^\\s]*)"],
"depNameTemplate": "renovate",
"datasourceTemplate": "npm"
},
// ── clusterctl operator provider manifests ───────────────────────────
{
"customType": "regex",
"description": "CAPI core, kubeadm, and CAPD provider versions (aws, local-host, local-talos)",
"managerFilePatterns": [
"/(^|/)mgmt/(aws|azure|gcp|local-host|local-talos)/capi-providers/(capi-system|capd-system)/.+\\.ya?ml$/"
],
"matchStrings": ["\\s{2}version: \"v(?<currentValue>[^\"]+)\""],
"depNameTemplate": "kubernetes-sigs/cluster-api",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": " version: \"v{{newValue}}\""
},
{
"customType": "regex",
"description": "CAPA (AWS infrastructure) provider version",
"managerFilePatterns": [
"/(^|/)mgmt/aws/capi-providers/capa-system/.+\\.ya?ml$/"
],
"matchStrings": ["\\s{2}version: \"v(?<currentValue>[^\"]+)\""],
"depNameTemplate": "kubernetes-sigs/cluster-api-provider-aws",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": " version: \"v{{newValue}}\""
},
{
"customType": "regex",
"description": "CAPZ (Azure infrastructure) provider version (issue #71)",
"managerFilePatterns": [
"/(^|/)mgmt/azure/capi-providers/capz-system/.+\\.ya?ml$/"
],
"matchStrings": ["\\s{2}version: \"v(?<currentValue>[^\"]+)\""],
"depNameTemplate": "kubernetes-sigs/cluster-api-provider-azure",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": " version: \"v{{newValue}}\""
},
{
"customType": "regex",
"description": "CAAPH (helm add-on) provider version",
"managerFilePatterns": [
"/(^|/)mgmt/(aws|azure|gcp|local-host)/capi-providers/caaph-system/.+\\.ya?ml$/"
],
"matchStrings": ["\\s{2}version: \"v(?<currentValue>[^\"]+)\""],
"depNameTemplate": "kubernetes-sigs/cluster-api-addon-provider-helm",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.+)",
"autoReplaceStringTemplate": " version: \"v{{newValue}}\""
},
// ── kind node images ─────────────────────────────────────────────────
{
"customType": "regex",
"description": "kindest/node image pins in management cluster manifests",
"managerFilePatterns": [
"/(^|/)mgmt/.+\\.ya?ml$/"
],
"matchStrings": ["kindest/node:(?<currentValue>v[0-9A-Za-z.\\-]+)(?:@(?<currentDigest>sha256:[a-f0-9]{64}))?"],
"depNameTemplate": "kindest/node",
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
},
{
"customType": "regex",
"description": "kindest/node topology.version pins (must track the node image, #142)",
"managerFilePatterns": [
"/(^|/)mgmt/local-host/clusters/docker/cluster\\.yaml$/",
"/(^|/)mgmt/local-host/clusters/management/cluster\\.yaml$/"
],
"matchStrings": ["[ \t]+version: v(?<currentValue>[0-9A-Za-z.\\-]+)"],
"depNameTemplate": "kindest/node",
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
},
{
"customType": "regex",
"description": "kindest/node bootstrap kind node image pin in bootstrap.toml (#647)",
"managerFilePatterns": ["/(^|/)bootstrap\\.toml$/"],
"matchStrings": [
"kind-node-image = \\\"kindest/node:(?<currentValue>v[0-9A-Za-z.\\-]+)(?:@(?<currentDigest>sha256:[a-f0-9]{64}))?\\\""
],
"depNameTemplate": "kindest/node",
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
},
// ── virtualized-e2e harness images ───────────────────────────────────
{
"customType": "regex",
"description": "Annotated docker image pins in the virtualized-e2e harness templates (issue #355)",
"managerFilePatterns": ["/(^|/)virtualized-e2e/.+\\.ya?ml\\.tmpl$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z0-9-]+) depName=(?<depName>\\S+)\\n\\s+image: [^\\s:]+:(?<currentValue>[^\\s@:]+)(?:@(?<currentDigest>sha256:[a-f0-9]{64}))?"
],
"versioningTemplate": "docker"
},
// ── airgap image inventory and zarf package ──────────────────────────
{
"customType": "regex",
"description": "airgap images.txt container refs",
"managerFilePatterns": ["/(^|/)airgap/images\\.txt$/"],
"matchStrings": [
"(?:^|\n)(?<depName>(?:[a-zA-Z0-9._-]+(?::[0-9]+)?/)?(?:[^\\s:@#/]+/)*[^\\s:@#/]+):(?<currentValue>[^\\s@:]+)(@(?<currentDigest>sha256:[a-f0-9]+))?[ \t]*(?:#.*)?"
],
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
},
{
"customType": "regex",
"description": "external container image refs in authoritative airgap scripts (#173)",
"managerFilePatterns": ["/(^|/)airgap/scripts/.+\\.sh$/"],
"matchStrings": [
"(?:^|\\n)(?:[ \\t]*|[^\\n#]*?(?:[ \\t\\\"'=(]|:-))(?<depName>(?:(?:[a-zA-Z0-9][a-zA-Z0-9._-]*\\.[a-zA-Z0-9._-]+|localhost)(?::[0-9]+)?/(?:[a-zA-Z0-9][a-zA-Z0-9._-]*/)*[a-zA-Z0-9][a-zA-Z0-9._-]*|(?:[a-zA-Z0-9][a-zA-Z0-9._-]*/)+[a-zA-Z0-9][a-zA-Z0-9._-]*|registry)):(?<currentValue>[a-zA-Z0-9_][a-zA-Z0-9_.-]*)(?:@(?<currentDigest>sha256:[a-f0-9]{64}))?"
],
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
},
{
"customType": "regex",
"description": "zarf.yaml embedded Helm chart version pins (annotation-driven, mirrors bootstrap.toml). See docs/dependencies.md#managed-surfaces for why this exists.",
"managerFilePatterns": ["/(^|/)airgap/zarf\\.yaml$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z0-9-]+)(?: registryUrl=(?<registryUrl>\\S+))? depName=(?<depName>\\S+)\\n\\s+version: v(?<currentValue>[^\\s]+)"
]
},
{
"customType": "regex",
"description": "zarf.yaml image refs (registry with optional port)",
"managerFilePatterns": ["/(^|/)airgap/zarf\\.yaml$/"],
"matchStrings": [
"- (?<depName>[a-zA-Z0-9._-]+(?::[0-9]+)?/[a-zA-Z0-9._/-]+):(?<currentValue>[^\\s@]+)(@(?<currentDigest>sha256:[a-f0-9]+))?"
],
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
},
{
"customType": "regex",
"description": "CAAPH Zarf release files with verified checksums and staged-version paths",
"managerFilePatterns": ["/(^|/)airgap/zarf\\.yaml$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>github-release-attachments) depName=(?<depName>kubernetes-sigs/cluster-api-addon-provider-helm)\\n\\s*- source: https://github\\.com/[^/]+/[^/]+/releases/download/(?<currentValue>v[^/]+)/[^\\n]+\\n\\s*shasum: (?<currentDigest>[a-fA-F0-9]{64})\\n\\s*target: [^\\n]*?/(?:v[^/]+)/[^\\n]+"
],
"versioningTemplate": "loose"
},
{
"customType": "regex",
"description": "CAAPH version rendered by the Zarf deployment action",
"managerFilePatterns": ["/(^|/)airgap/zarf\\.yaml$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>github-releases) depName=(?<depName>kubernetes-sigs/cluster-api-addon-provider-helm)\\n[ \\t]*\\\"\\$clusterctl\\\" generate provider --addon helm:v(?<currentValue>[^\\s\\\\]+)"
],
"extractVersionTemplate": "^v(?<version>.+)",
"versioningTemplate": "semver-coerced"
},
{
"customType": "regex",
"description": "Bundled clusterctl release files with verified SHA-256 checksums",
"managerFilePatterns": ["/(^|/)airgap/zarf\\.yaml$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>github-release-attachments) depName=(?<depName>kubernetes-sigs/cluster-api)\\n\\s*- source: https://github\\.com/[^/]+/[^/]+/releases/download/(?<currentValue>v[^/]+)/[^\\n]+\\n\\s*shasum: (?<currentDigest>[a-fA-F0-9]{64})"
],
"versioningTemplate": "loose"
},
// ── CAPI provider (core, bootstrap, control-plane, CAPD) Zarf release
// files (see docs/dependencies.md's "Managed surfaces") ──────────────
{
"customType": "regex",
"description": "CAPI provider (core, bootstrap-kubeadm, control-plane-kubeadm, CAPD) Zarf release files with verified checksums and staged-version paths",
"managerFilePatterns": ["/(^|/)airgap/zarf\\.yaml$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>github-release-attachments) depName=(?<depName>kubernetes-sigs/cluster-api-(?:core|bootstrap-kubeadm|control-plane-kubeadm|infrastructure-docker))\\n\\s*- source: https://github\\.com/[^/]+/[^/]+/releases/download/(?<currentValue>v[^/]+)/[^\\n]+\\n\\s*shasum: (?<currentDigest>[a-fA-F0-9]{64})\\n\\s*target: [^\\n]*?/(?:v[^/]+)/[^\\n]+",
],
"depNameTemplate": "kubernetes-sigs/cluster-api",
"versioningTemplate": "loose"
},
// ── versions rendered by each provider's Zarf deployment action ──────
{
"customType": "regex",
"description": "CAPI provider (core, bootstrap-kubeadm, control-plane-kubeadm, CAPD) version rendered by the Zarf deployment action",
"managerFilePatterns": ["/(^|/)airgap/zarf\\.yaml$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>github-releases) depName=(?<depName>kubernetes-sigs/cluster-api-(?:core|bootstrap-kubeadm|control-plane-kubeadm|infrastructure-docker))\\n[ \\t]*\\\"\\$clusterctl\\\" generate provider (?:--core cluster-api|--bootstrap kubeadm|--control-plane kubeadm|--infrastructure docker):v(?<currentValue>[^\\s\\\\]+)",
],
"depNameTemplate": "kubernetes-sigs/cluster-api",
"extractVersionTemplate": "^v(?<version>.+)",
"versioningTemplate": "semver-coerced"
},
{
"customType": "regex",
"description": "CAAPH clusterctl config staged release path",
"managerFilePatterns": ["/(^|/)airgap/files/clusterctl-providers\\.yaml$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>github-releases) depName=(?<depName>kubernetes-sigs/cluster-api-addon-provider-helm)\\n\\s*url: .*?/v(?<currentValue>[^/]+)/components\\.yaml"
],
"extractVersionTemplate": "^v(?<version>.+)",
"versioningTemplate": "semver-coerced"
},
// ── clusterctl-providers.yaml staged-version paths for the 4 CAPI
// providers above (CAAPH's own entry is the manager just above) ──────
{
"customType": "regex",
"description": "CAPI provider (core, bootstrap-kubeadm, control-plane-kubeadm, CAPD) clusterctl config staged release path",
"managerFilePatterns": ["/(^|/)airgap/files/clusterctl-providers\\.yaml$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>github-releases) depName=(?<depName>kubernetes-sigs/cluster-api-(?:core|bootstrap-kubeadm|control-plane-kubeadm|infrastructure-docker))\\n\\s*url: .*?/v(?<currentValue>[^/]+)/[^\\n]+"
],
"depNameTemplate": "kubernetes-sigs/cluster-api",
"extractVersionTemplate": "^v(?<version>.+)",
"versioningTemplate": "semver-coerced"
},
// EKS addon versions (*-eksbuild.*) intentionally not managed: they have
// no public registry datasource. Tracked in issue #74 as manual updates.
// The locally built localhost:5001/krops-airgap:latest artifact is
// extracted but intentionally disabled by the scoped packageRule below.
// ── end customManagers ────────────────────────────────────────────────
],
"packageRules": [
{
"description": "Pin air-gap container images by digest while retaining readable tags",
"matchDatasources": ["docker"],
"matchFileNames": [
"airgap/images.txt",
"airgap/zarf.yaml",
"airgap/scripts/*.sh"
],
"pinDigests": true
},
{
"description": "Keep Zarf GitHub release asset URLs and SHA-256 checksums together",
"matchDatasources": ["github-release-attachments"],
"matchFileNames": ["airgap/zarf.yaml"],
"pinDigests": true
},
{
"description": "Pin virtualized-e2e harness container images by digest while retaining readable tags (issue #355)",
"matchDatasources": ["docker"],
"matchFileNames": ["virtualized-e2e/**/*.yaml.tmpl"],
"pinDigests": true
},
{
"description": "Do not resolve the air-gap config artifact built locally per run",
"matchDatasources": ["docker"],
"matchPackageNames": ["localhost:5001/krops-airgap"],
"matchFileNames": [
"airgap/images.txt",
"airgap/zarf.yaml",
"airgap/scripts/*.sh"
],
"enabled": false
},
{
"description": "Pin toolbox image base images by digest (issue #104)",
"matchDatasources": ["docker"],
"matchFileNames": ["bootstrap-rs/Dockerfile"],
"pinDigests": true
},
{
"description": "Resolve cert-manager Helm repo once across declarative and imperative pins",
"matchDatasources": ["helm"],
"matchPackageNames": ["cert-manager"],
"registryUrls": ["https://charts.jetstack.io"],
"extractVersion": "^v(?<version>.+)$"
},
{
"description": "Resolve cluster-api-operator Helm repo once across declarative and imperative pins",
"matchDatasources": ["helm"],
"matchPackageNames": ["cluster-api-operator"],
"registryUrls": ["https://kubernetes-sigs.github.io/cluster-api-operator"]
},
{
"description": "No automerge by default; merges stay manual (issue #74). The next rule is the only exception",
"matchUpdateTypes": ["major", "minor", "patch", "digest", "pin", "pinDigest"],
"automerge": false
},
{
"description": "Automerge the CI-only Renovate CLI pin (patch/minor): the renovate-digest-pinning job reinstalls this exact version and re-runs the full pinning test suite against it, so a green run already validates the bump",
"matchDepNames": ["renovate"],
"matchUpdateTypes": ["patch", "minor"],
"automerge": true,
"automergeType": "pr",
"minimumReleaseAge": "3 days"
},
{
"description": "Group GitHub Actions only, excluding workflow images and runners",
"matchManagers": ["github-actions"],
"matchDepTypes": ["action"],
"groupName": "github-actions"
},
{
"description": "Group Flux controller images and CLI updates",
"matchDatasources": ["docker", "github-releases", "helm"],
"matchPackageNames": [
"/^ghcr\\.io/fluxcd//",
"/^ghcr\\.io/controlplaneio-fluxcd//",
"/^fluxcd//"
],
"groupName": "flux"
},
{
// See docs/dependencies.md's "Managed surfaces" for what this spans.
"description": "Group the CAPI family (core, kubeadm, CAPD, CAPA, CAAPH, CAPZ)",
"matchDatasources": ["docker", "github-releases", "github-release-attachments"],
"matchPackageNames": [
"kubernetes-sigs/cluster-api",
"kubernetes-sigs/cluster-api-provider-aws",
"kubernetes-sigs/cluster-api-addon-provider-helm",
"kubernetes-sigs/cluster-api-provider-azure",
"shrinedogg/cluster-api-provider-gcp",
"/^registry\\.k8s\\.io/cluster-api//",
"/^registry\\.k8s\\.io/cluster-api-helm//",
"/^gcr\\.io/k8s-staging-cluster-api//"
],
"groupName": "cluster-api"
},
{
"description": "CAPZ bundles ASO, which must be upgraded one minor version at a time (issue #71)",
"matchDatasources": ["github-releases"],
"matchPackageNames": ["kubernetes-sigs/cluster-api-provider-azure"],
"separateMultipleMinor": true,
"groupName": null
},
{
"description": "Group imperative pivot chart pins with their GitOps HelmReleases",
"matchDatasources": ["helm"],
"matchPackageNames": ["cert-manager", "cluster-api-operator"],
"groupName": "platform-charts"
},
{
// See docs/dependencies.md#managed-surfaces for what this covers and why.
"description": "Group all Kubernetes-release-version pins into one PR",
"matchDepNames": [
"kindest/node",
"kubernetes/kubernetes",
"registry.k8s.io/kube-apiserver",
"registry.k8s.io/kube-controller-manager",
"registry.k8s.io/kube-proxy",
"registry.k8s.io/kube-scheduler",
"registry.k8s.io/coredns/coredns",
"registry.k8s.io/etcd",
"registry.k8s.io/pause"
],
"groupName": "kubernetes-version"
},
{
"description": "Group cert-manager's images.txt/zarf.yaml image tags with its Helm chart pin. See docs/dependencies.md#managed-surfaces for what this covers and why.",
"matchDatasources": ["docker"],
"matchPackageNames": [
"quay.io/jetstack/cert-manager-controller",
"quay.io/jetstack/cert-manager-cainjector",
"quay.io/jetstack/cert-manager-webhook",
"quay.io/jetstack/cert-manager-startupapicheck"
],
"matchFileNames": ["airgap/images.txt", "airgap/zarf.yaml"],
"groupName": "platform-charts"
},
{
// The CI digest-pinning job installs and runs the pinned Renovate CLI,
// and renovate 44.x declares engines node ^24.11.0, so a 26.x node pin
// would move the job's runner environment outside the supported range
// and fail the job (#718). Both CI node surfaces must stay on the
// 24.x line together: the mise pin (nodejs/node, jdx/mise-action
// installs from mise.toml) and the setup-node pin (node, tracked
// through actions/setup-node's node-version input in validate.yml).
// Cap both until a Renovate release supports node 26, then lift the
// cap and carry both pins to 26.x in one PR.
"description": "Cap the mise and setup-node pins to the 24.x line until Renovate supports node 26 (#724)",
"matchDepNames": ["nodejs/node", "node"],
"matchFileNames": ["mise.toml", ".github/workflows/validate.yml"],
"allowedVersions": "<25"
},
// flux2, sops, age, and aws-cli were previously floating "latest" pins;
// they are now pinned to concrete versions in mise.toml / mise.aws.toml
// so Renovate tracks them normally. The zarf local-registry image keeps
// its bare "latest" tag: it is built locally per run and has no
// comparable version.
]
}