2
2
3
3
local config = import 'jsonnet/config.jsonnet' ;
4
4
local versions = [
5
- { version: '2.10.5' , chartTag: 'v25.0.0' },
6
- { version: '2.10.4' , chartTag: 'v24.0.0' },
7
- { version: '2.10.4' , chartTag: 'v23.2.0' },
8
- { version: '2.10.0' , chartTag: 'v22.3.0' }, // breaking change with Traefik v2.9.10
9
- { version: '2.9.10' , chartTag: 'v22.2.0' , legacy: true },
10
- { version: '2.9.8' , chartTag: 'v21.2.1' , legacy: true },
11
- { version: '2.8.0' , chartTag: 'v10.24.0' , legacy: true }, // A rather old version I'm still using, and should update
5
+ { version: '3.3.3' , chartTag: 'v34.3.0' },
6
+ { version: '2.11.2' , chartTag: 'v27.0.2' },
7
+ { version: '2.10.6' , chartTag: 'v26.0.0' },
12
8
];
13
9
14
10
config.new(
@@ -19,23 +15,33 @@ config.new(
19
15
local url = 'https://raw.githubusercontent.com/traefik/traefik-helm-chart/%s/traefik/crds' % v.chartTag,
20
16
21
17
output: v.version,
22
- prefix:
23
- if std.objectHas (v, 'legacy' ) then
24
- '^us\\ .containo\\ .traefik\\ ..*'
25
- else '^io\\ .traefik\\ ..*' ,
18
+ prefix: '^io\\ .traefik\\ ..*' ,
26
19
27
20
crds:
28
- if std.objectHas (v , 'legacy ' ) then
21
+ if std.startsWith (v.version , '3 ' ) then
29
22
[
30
- '%s/ingressroute.yaml' % url,
31
- '%s/ingressroutetcp.yaml' % url,
32
- '%s/ingressrouteudp.yaml' % url,
33
- '%s/middlewares.yaml' % url,
34
- '%s/middlewarestcp.yaml' % url,
35
- '%s/serverstransports.yaml' % url,
36
- '%s/tlsoptions.yaml' % url,
37
- '%s/tlsstores.yaml' % url,
38
- '%s/traefikservices.yaml' % url,
23
+ '%s/gateway-standard-install.yaml' % url,
24
+ '%s/hub.traefik.io_accesscontrolpolicies.yaml' % url,
25
+ '%s/hub.traefik.io_aiservices.yaml' % url,
26
+ '%s/hub.traefik.io_apiaccesses.yaml' % url,
27
+ '%s/hub.traefik.io_apibundles.yaml' % url,
28
+ '%s/hub.traefik.io_apicatalogitems.yaml' % url,
29
+ '%s/hub.traefik.io_apiplans.yaml' % url,
30
+ '%s/hub.traefik.io_apiportals.yaml' % url,
31
+ '%s/hub.traefik.io_apiratelimits.yaml' % url,
32
+ '%s/hub.traefik.io_apis.yaml' % url,
33
+ '%s/hub.traefik.io_apiversions.yaml' % url,
34
+ '%s/hub.traefik.io_managedsubscriptions.yaml' % url,
35
+ '%s/traefik.io_ingressroutes.yaml' % url,
36
+ '%s/traefik.io_ingressroutetcps.yaml' % url,
37
+ '%s/traefik.io_ingressrouteudps.yaml' % url,
38
+ '%s/traefik.io_middlewares.yaml' % url,
39
+ '%s/traefik.io_middlewaretcps.yaml' % url,
40
+ '%s/traefik.io_serverstransports.yaml' % url,
41
+ '%s/traefik.io_serverstransporttcps.yaml' % url,
42
+ '%s/traefik.io_tlsoptions.yaml' % url,
43
+ '%s/traefik.io_tlsstores.yaml' % url,
44
+ '%s/traefik.io_traefikservices.yaml' % url,
39
45
]
40
46
else
41
47
[
0 commit comments