Skip to content

Commit

Permalink
vcore: odf nodes usage refactoring (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
elenagerman authored Aug 7, 2024
1 parent 0706705 commit 050a4e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions tests/system-tests/vcore/internal/vcorecommon/odf.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@ func VerifyLocalVolumeDiscovery(ctx SpecContext) {

nodeSelector := corev1.NodeSelector{NodeSelectorTerms: []corev1.NodeSelectorTerm{{
MatchExpressions: []corev1.NodeSelectorRequirement{{
Key: "cluster.ocs.openshift.io/openshift-storage",
Key: "kubernetes.io/hostname",
Operator: "In",
Values: []string{""},
Values: []string{"worker-4", "worker-5", "worker-6"},
}}},
}}

Expand Down Expand Up @@ -221,9 +221,9 @@ func VerifyLocalVolumeSet(ctx SpecContext) {

nodeSelector := corev1.NodeSelector{NodeSelectorTerms: []corev1.NodeSelectorTerm{{
MatchExpressions: []corev1.NodeSelectorRequirement{{
Key: "cluster.ocs.openshift.io/openshift-storage",
Key: "kubernetes.io/hostname",
Operator: "In",
Values: []string{""},
Values: []string{"worker-4", "worker-5", "worker-6"},
}}},
}}

Expand Down
4 changes: 2 additions & 2 deletions tests/system-tests/vcore/internal/vcorecommon/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ func VerifyRedisLocalVolumeSet(ctx SpecContext) {

nodeSelector := corev1.NodeSelector{NodeSelectorTerms: []corev1.NodeSelectorTerm{{
MatchExpressions: []corev1.NodeSelectorRequirement{{
Key: "cluster.ocs.openshift.io/openshift-storage",
Key: "kubernetes.io/hostname",
Operator: "In",
Values: []string{""},
Values: []string{"master-0", "master-1", "master-2"},
}}},
}}

Expand Down

0 comments on commit 050a4e5

Please sign in to comment.