Removes the creation of the unused test istio GatewayClass
Signed-off-by: irbekrm <irbekrm@gmail.com>
This commit is contained in:
parent
47cb2ac09b
commit
cdaeb0599a
@ -40,7 +40,6 @@ go_library(
|
||||
"@io_k8s_component_base//featuregate:go_default_library",
|
||||
"@io_k8s_kube_aggregator//pkg/apis/apiregistration/v1:go_default_library",
|
||||
"@io_k8s_sigs_controller_runtime//pkg/client:go_default_library",
|
||||
"@io_k8s_sigs_gateway_api//apis/v1alpha2:go_default_library",
|
||||
"@io_k8s_sigs_gateway_api//pkg/client/clientset/gateway/versioned:go_default_library",
|
||||
],
|
||||
)
|
||||
|
||||
@ -33,7 +33,6 @@ import (
|
||||
"k8s.io/client-go/rest"
|
||||
apireg "k8s.io/kube-aggregator/pkg/apis/apiregistration/v1"
|
||||
crclient "sigs.k8s.io/controller-runtime/pkg/client"
|
||||
gwapiv1alpha2 "sigs.k8s.io/gateway-api/apis/v1alpha2"
|
||||
gwapi "sigs.k8s.io/gateway-api/pkg/client/clientset/gateway/versioned"
|
||||
|
||||
v1 "github.com/cert-manager/cert-manager/pkg/apis/certmanager/v1"
|
||||
@ -143,16 +142,6 @@ func (f *Framework) BeforeEach() {
|
||||
f.GWClientSet, err = gwapi.NewForConfig(kubeConfig)
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
||||
By("Creating a gateway-api class for istio")
|
||||
f.GWClientSet.GatewayV1alpha2().GatewayClasses().Create(context.Background(), &gwapiv1alpha2.GatewayClass{
|
||||
ObjectMeta: metav1.ObjectMeta{
|
||||
Name: "istio",
|
||||
},
|
||||
Spec: gwapiv1alpha2.GatewayClassSpec{
|
||||
ControllerName: "istio.io/gateway-controller",
|
||||
},
|
||||
}, metav1.CreateOptions{})
|
||||
|
||||
By("Building a namespace api object")
|
||||
f.Namespace, err = f.CreateKubeNamespace(f.BaseName)
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user