diff --git a/cmd/webhook/main.go b/cmd/webhook/main.go index 72614509..5796bdde 100644 --- a/cmd/webhook/main.go +++ b/cmd/webhook/main.go @@ -5,6 +5,13 @@ import ( "fmt" "os" + ctlcni "github.com/harvester/harvester/pkg/generated/controllers/k8s.cni.cncf.io" + ctlcniv1 "github.com/harvester/harvester/pkg/generated/controllers/k8s.cni.cncf.io/v1" + ctlkubevirt "github.com/harvester/harvester/pkg/generated/controllers/kubevirt.io" + ctlkubevirtv1 "github.com/harvester/harvester/pkg/generated/controllers/kubevirt.io/v1" + "github.com/harvester/harvester/pkg/indexeres" + "github.com/harvester/webhook/pkg/config" + "github.com/harvester/webhook/pkg/server" ctlcore "github.com/rancher/wrangler/pkg/generated/controllers/core" ctlcorev1 "github.com/rancher/wrangler/pkg/generated/controllers/core/v1" "github.com/rancher/wrangler/pkg/kubeconfig" @@ -15,14 +22,6 @@ import ( "k8s.io/client-go/rest" kubevirtv1 "kubevirt.io/api/core/v1" - ctlcni "github.com/harvester/harvester/pkg/generated/controllers/k8s.cni.cncf.io" - ctlcniv1 "github.com/harvester/harvester/pkg/generated/controllers/k8s.cni.cncf.io/v1" - ctlkubevirt "github.com/harvester/harvester/pkg/generated/controllers/kubevirt.io" - ctlkubevirtv1 "github.com/harvester/harvester/pkg/generated/controllers/kubevirt.io/v1" - "github.com/harvester/harvester/pkg/indexeres" - "github.com/harvester/webhook/pkg/config" - "github.com/harvester/webhook/pkg/server" - ctlnetwork "github.com/harvester/harvester-network-controller/pkg/generated/controllers/network.harvesterhci.io" ctlnetworkv1 "github.com/harvester/harvester-network-controller/pkg/generated/controllers/network.harvesterhci.io/v1beta1" "github.com/harvester/harvester-network-controller/pkg/webhook/clusternetwork"