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:
@@ -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
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user