Skip to content

Commit

Permalink
fix(e2e): ensuring well-known label
Browse files Browse the repository at this point in the history
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
  • Loading branch information
prometherion committed Nov 28, 2023
1 parent 242fdd2 commit 3c85657
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/globaltenantresource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
}

Expand Down
2 changes: 1 addition & 1 deletion e2e/tenantresource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
}

Expand Down

0 comments on commit 3c85657

Please sign in to comment.