From ecc5796159b40a828cc7cdfe0c538fb8e66114b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ma=C5=82ek?= Date: Fri, 10 Feb 2023 14:00:17 +0100 Subject: [PATCH] fix: fix calico manifests URL --- pkg/clusters/types/kind/utils.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/clusters/types/kind/utils.go b/pkg/clusters/types/kind/utils.go index 7fd0df932..167b0519f 100644 --- a/pkg/clusters/types/kind/utils.go +++ b/pkg/clusters/types/kind/utils.go @@ -42,7 +42,7 @@ func NewFromExisting(name string) (clusters.Cluster, error) { // ----------------------------------------------------------------------------- const ( - defaultCalicoManifests = "https://projectcalico.docs.tigera.io/manifests/calico.yaml" + defaultCalicoManifests = "https://raw.githubusercontent.com/projectcalico/calico/v3.25.0/manifests/calico.yaml" ) // ----------------------------------------------------------------------------- @@ -148,5 +148,5 @@ func (b *Builder) disableDefaultCNI() error { return err } - return os.WriteFile(*b.configPath, configYAML, 0600) //nolint:gomnd + return os.WriteFile(*b.configPath, configYAML, 0o600) //nolint:gomnd }