Skip to content

Commit db0274e

Browse files
committed
fix per-stack domains in e2e tests
1 parent 0c5a3b2 commit db0274e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cmd/e2e/basic_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ func verifyStackIngressSources(
489489
}
490490

491491
if stack.Spec.Ingress != nil {
492-
for _, domain := range clusterDomains {
492+
for _, domain := range perStackDomains {
493493
domains = append(
494494
domains,
495495
fmt.Sprintf("%s.%s", resourceName, domain),

cmd/e2e/test_environment.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ var (
2626
clusterDomain = requiredEnvar("CLUSTER_DOMAIN")
2727
clusterDomainInternal = requiredEnvar("CLUSTER_DOMAIN_INTERNAL")
2828
clusterDomains = []string{clusterDomain, clusterDomainInternal}
29+
perStackDomains = []string{"ingress.cluster.local"}
2930
controllerId = os.Getenv("CONTROLLER_ID")
3031
waitTimeout time.Duration
3132
trafficSwitchWaitTimeout time.Duration

0 commit comments

Comments
 (0)