Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update calico version and include new CRD #450

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions libs/calico/config.jsonnet
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
local config = import 'jsonnet/config.jsonnet';

local legacy_versions = [
['3.17', '3.17.6'],
['3.18', '3.18.6'],
['3.19', '3.19.4'],
['3.20', '3.20.4'],
['3.24', '3.24.1'],
['3.25', '3.25.0'],
];

local legacy_path = 'https://raw.githubusercontent.com/projectcalico/calico/v%s/_includes/charts/calico/crds/kdd/';

local versions = [
['3.21', '3.21.6'],
['3.22', '3.22.0'],
['3.23', '3.22.3'],
['3.24', '3.24.1'],
['3.25', '3.25.0'],
['3.28', '3.28.1'],
];

// The files in new versions were moved here:
Expand All @@ -28,8 +22,10 @@ config.new(
prefix: '^org\\.projectcalico\\.crd\\..*',
crds: [
(path % version[1]) + 'crd.projectcalico.org_bgpconfigurations.yaml',
(path % version[1]) + 'crd.projectcalico.org_bgpfilters.yaml',
(path % version[1]) + 'crd.projectcalico.org_bgppeers.yaml',
(path % version[1]) + 'crd.projectcalico.org_blockaffinities.yaml',
(path % version[1]) + 'crd.projectcalico.org_caliconodestatuses.yaml',
(path % version[1]) + 'crd.projectcalico.org_clusterinformations.yaml',
(path % version[1]) + 'crd.projectcalico.org_felixconfigurations.yaml',
(path % version[1]) + 'crd.projectcalico.org_globalnetworkpolicies.yaml',
Expand Down
Loading