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 <soharab.ansari@infracloud.io>
This commit is contained in:
soharab-ic
2024-10-10 11:47:36 +05:30
committed by GitHub
parent 36f318186b
commit c43f6fe9c0
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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) {