From c43f6fe9c0d9eb5c4441a29fdae50e43a9aab42b Mon Sep 17 00:00:00 2001 From: soharab-ic <156293296+soharab-ic@users.noreply.github.com> Date: Thu, 10 Oct 2024 11:47:36 +0530 Subject: [PATCH] Update K8s version for envtest to 1.30.x (#3038) * Update K8s version for envtest to 1.30.x * Minor change to trigger tests --------- Signed-off-by: Md Soharab Ansari --- Makefile | 2 +- hack/runtests.sh | 2 +- pkg/fission-cli/cmd/check/check.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5840e8a4..3e98f581 100644 --- a/Makefile +++ b/Makefile @@ -134,4 +134,4 @@ install-envtest: go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest setup-envtest: - setup-envtest -p path use 1.23.x + setup-envtest -p path use 1.30.x diff --git a/hack/runtests.sh b/hack/runtests.sh index d6b47a00..d17cd392 100755 --- a/hack/runtests.sh +++ b/hack/runtests.sh @@ -29,7 +29,7 @@ set +x echo "" > coverage.txt make install-envtest -KUBEBUILDER_ASSETS=$(setup-envtest -p path use 1.23.x) +KUBEBUILDER_ASSETS=$(setup-envtest -p path use 1.30.x) export KUBEBUILDER_ASSETS # The executor unit test only works with NodePort-type services for diff --git a/pkg/fission-cli/cmd/check/check.go b/pkg/fission-cli/cmd/check/check.go index 0c5a0655..3b48757d 100644 --- a/pkg/fission-cli/cmd/check/check.go +++ b/pkg/fission-cli/cmd/check/check.go @@ -36,7 +36,7 @@ func (opts *CheckSubCommand) do(input cli.Input) error { userProvidedNS, _, err := opts.GetResourceNamespace(input, flagkey.Namespace) if err != nil { - return fmt.Errorf("error retrieving user provided namespace information: %w", err) + return fmt.Errorf("error retrieving user provided namespace: %w", err) } if input.IsSet(flagkey.PreCheckOnly) {