@@ -8,13 +8,13 @@ import (
88 "github.com/loft-sh/e2e-framework/pkg/setup/cluster"
99 "github.com/loft-sh/vcluster/e2e-next/clusters"
1010 "github.com/loft-sh/vcluster/e2e-next/constants"
11- e2eLabels "github.com/loft-sh/vcluster/e2e-next/labels"
11+ "github.com/loft-sh/vcluster/e2e-next/labels"
1212 "github.com/loft-sh/vcluster/pkg/controllers/deploy"
1313 . "github.com/onsi/ginkgo/v2"
1414 . "github.com/onsi/gomega"
1515 appsv1 "k8s.io/api/apps/v1"
1616 metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
17- "k8s.io/apimachinery/pkg/labels"
17+ k8slabels "k8s.io/apimachinery/pkg/labels"
1818 "k8s.io/client-go/kubernetes"
1919)
2020
@@ -28,7 +28,7 @@ const (
2828
2929var _ = Describe ("Helm charts (regular and OCI) are synced and applied as expected" ,
3030 Ordered ,
31- e2eLabels .Deploy ,
31+ labels .Deploy ,
3232 cluster .Use (clusters .HelmChartsVCluster ),
3333 func () {
3434 var (
@@ -69,7 +69,7 @@ var _ = Describe("Helm charts (regular and OCI) are synced and applied as expect
6969 It ("Test nginx release secret existence in vcluster (regular chart)" , func (ctx context.Context ) {
7070 Eventually (func (g Gomega ) {
7171 secList , err := vClusterClient .CoreV1 ().Secrets (ChartNamespace ).List (ctx , metav1.ListOptions {
72- LabelSelector : labels .SelectorFromSet (HelmSecretLabels ).String (),
72+ LabelSelector : k8slabels .SelectorFromSet (HelmSecretLabels ).String (),
7373 })
7474 g .Expect (err ).NotTo (HaveOccurred (), "Should be able to list secrets" )
7575 g .Expect (secList .Items ).To (HaveLen (1 ), "Should have exactly one helm secret" )
@@ -84,7 +84,7 @@ var _ = Describe("Helm charts (regular and OCI) are synced and applied as expect
8484 It ("Test fluent-bit release deployment existence in vcluster (OCI chart)" , func (ctx context.Context ) {
8585 Eventually (func (g Gomega ) []appsv1.Deployment {
8686 deployList , err := vClusterClient .AppsV1 ().Deployments (ChartOCINamespace ).List (ctx , metav1.ListOptions {
87- LabelSelector : labels .SelectorFromSet (HelmOCIDeploymentLabels ).String (),
87+ LabelSelector : k8slabels .SelectorFromSet (HelmOCIDeploymentLabels ).String (),
8888 })
8989 g .Expect (err ).NotTo (HaveOccurred (), "Should be able to list deployments" )
9090 return deployList .Items
0 commit comments