diff --git a/test/integration/bastion/bastion_test.go b/test/integration/bastion/bastion_test.go index ebdcf86de..fac29ba92 100644 --- a/test/integration/bastion/bastion_test.go +++ b/test/integration/bastion/bastion_test.go @@ -33,7 +33,6 @@ import ( networkingv1 "k8s.io/api/networking/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" - "k8s.io/utils/pointer" "k8s.io/utils/ptr" "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/envtest" @@ -127,7 +126,7 @@ var _ = BeforeSuite(func() { By("starting test environment") testEnv = &envtest.Environment{ - UseExistingCluster: pointer.Bool(true), + UseExistingCluster: ptr.To(true), CRDInstallOptions: envtest.CRDInstallOptions{ Paths: []string{ filepath.Join(repoRoot, "example", "20-crd-extensions.gardener.cloud_clusters.yaml"),