Skip to content

Commit

Permalink
keptn#608 Use hostname instead of ip
Browse files Browse the repository at this point in the history
  • Loading branch information
agrimmer committed Aug 13, 2019
1 parent d725126 commit ca2f7e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/cmd/install.go
Expand Up @@ -291,14 +291,14 @@ func doInstallation() error {

if eks {
o = options{"get", "svc", "istio-ingressgateway", "-n", "istio-system",
"-ojsonpath={.status.loadBalancer.ingress[0].ip}"}
"-ojsonpath={.status.loadBalancer.ingress[0].hostname}"}
o.appendIfNotEmpty(kubectlOptions)
extIP, err := keptnutils.ExecuteCommand("kubectl", o)
hostname, err := keptnutils.ExecuteCommand("kubectl", o)
if err != nil {
return err
}

fmt.Println("Please create a Route53 Hosted Zone with a wildcard record set for " + extIP)
fmt.Println("Please create a Route53 Hosted Zone with a wildcard record set for " + hostname)
fmt.Println("Afterwards, call 'keptn configure domain YOUR_ROUTE53_DOMAIN'")
} else {
// installation finished, get auth token and endpoint
Expand Down

0 comments on commit ca2f7e9

Please sign in to comment.