Skip to content

Commit

Permalink
Set default domain to cluster's domain (#13964)
Browse files Browse the repository at this point in the history
- Set default domain to cluster's domain
  • Loading branch information
Kauana Santos authored May 15, 2023
1 parent c90fabf commit 99800ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/reconciler/route/config/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@ import (
const (
// DomainConfigName is the config map name for the domain configuration.
DomainConfigName = "config-domain"
)

var (
// DefaultDomain holds the domain that Route's live under by default
// when no label selector-based options apply.
DefaultDomain = "svc.cluster.local"
DefaultDomain = "svc." + network.GetClusterDomainName()
)

// LabelSelector represents map of {key,value} pairs. A single {key,value} in the
Expand Down

0 comments on commit 99800ed

Please sign in to comment.