Skip to content

Commit ec1b281

Browse files
committed
Add support for multiple concurrent versions. Adds back the old v1.0.2
1 parent 94204b9 commit ec1b281

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

libs/cluster-api/config.jsonnet

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
local config = import 'jsonnet/config.jsonnet';
22

3+
local versions = [
4+
'v1.0.2',
5+
'v1.13.2',
6+
];
7+
38
config.new(
49
name='cluster-api',
510
specs=[
611
{
7-
output: 'v1.13.2',
12+
output: version,
813
openapi: 'http://localhost:8001/openapi/v2',
914
prefix: '^io\\.x-k8s\\.cluster\\..*',
10-
crds: ['https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.13.2/core-components.yaml'],
15+
crds: ['https://github.com/kubernetes-sigs/cluster-api/releases/download/%(version)s/core-components.yaml' % { version: version}],
1116
localName: 'cluster-api',
1217
},
18+
for version in versions
1319
]
1420
)

0 commit comments

Comments
 (0)