Skip to content

Commit

Permalink
Merge pull request #29 from TykTechnologies/fix/local-cluster
Browse files Browse the repository at this point in the history
(fix): remove `.cluster.local` from dashboard url
  • Loading branch information
buraksekili authored Dec 7, 2023
2 parents eae2fd6 + 0a1975a commit d8bed73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (c *Client) DiscoverDashboardSvc() (string, error) {
c.l.Warnf("Found multiple open ports in svc/%v/%v", service.Name, service.Namespace)
}

c.appArgs.K8s.DashboardSvcUrl = fmt.Sprintf("%s://%s.%s.svc.cluster.local:%d",
c.appArgs.K8s.DashboardSvcUrl = fmt.Sprintf("%s://%s.%s.svc:%d",
c.appArgs.K8s.DashboardSvcProto,
service.Name,
c.appArgs.K8s.ReleaseNamespace,
Expand Down

0 comments on commit d8bed73

Please sign in to comment.