Skip to content

Commit fdde6e2

Browse files
committed
Fix docker image tooling to behave like module
1 parent 445d876 commit fdde6e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tooling/kube_tool/other_params.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ def OtherParams.create(os, version, container_runtime, cni_provider, cni_provide
2828
cni_network_provider = 'https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml'
2929
cni_pod_cidr = '10.244.0.0/16'
3030
elsif cni_provider.match('calico')
31-
cni_network_preinstall = "https://docs.projectcalico.org/manifests/tigera-operator.yaml"
32-
cni_network_provider = "https://docs.projectcalico.org/manifests/custom-resources.yaml"
31+
cni_network_provider = "https://docs.projectcalico.org/archive/#{cni_provider_version}/manifests/calico.yaml"
3332
cni_pod_cidr = '192.168.0.0/16'
3433
elsif cni_provider.match('calico-tigera')
35-
cni_network_provider = "https://docs.projectcalico.org/archive/#{cni_provider_version}/manifests/calico.yaml"
34+
cni_network_preinstall = "https://docs.projectcalico.org/manifests/tigera-operator.yaml"
35+
cni_network_provider = "https://docs.projectcalico.org/manifests/custom-resources.yaml"
3636
cni_pod_cidr = '192.168.0.0/16'
3737
elsif cni_provider.match('cilium')
3838
cni_pod_cidr = '10.244.0.0/16'

0 commit comments

Comments
 (0)