From 3c85657d9af8b684b5366418655f87bfec49351c Mon Sep 17 00:00:00 2001 From: Dario Tranchitella Date: Sun, 26 Nov 2023 17:50:35 +0100 Subject: [PATCH] fix(e2e): ensuring well-known label Signed-off-by: Dario Tranchitella --- e2e/globaltenantresource_test.go | 2 +- e2e/tenantresource_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/globaltenantresource_test.go b/e2e/globaltenantresource_test.go index 0f34419b..cd75772a 100644 --- a/e2e/globaltenantresource_test.go +++ b/e2e/globaltenantresource_test.go @@ -249,7 +249,7 @@ var _ = Describe("Creating a GlobalTenantResource object", func() { gtr.Spec.Resources[0].NamespaceSelector = &metav1.LabelSelector{ MatchLabels: map[string]string{ - "name": "solar-three", + "kubernetes.io/metadata.name": "solar-three", }, } diff --git a/e2e/tenantresource_test.go b/e2e/tenantresource_test.go index 99c94c00..416e3d50 100644 --- a/e2e/tenantresource_test.go +++ b/e2e/tenantresource_test.go @@ -249,7 +249,7 @@ var _ = Describe("Creating a TenantResource object", func() { tr.Spec.Resources[0].NamespaceSelector = &metav1.LabelSelector{ MatchLabels: map[string]string{ - "name": "solar-three", + "kubernetes.io/metadata.name": "solar-three", }, }