Skip to content

Commit

Permalink
Merge pull request #277 from kevinrizza/use-dns-for-catsrc-address
Browse files Browse the repository at this point in the history
Use DNS for CatalogSource address
  • Loading branch information
openshift-merge-robot committed Jan 13, 2020
2 parents fe21578 + 23ac981 commit 9294890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func (r *registry) ensureService() error {
}
r.log.Infof("Created Service %s", service.GetName())

r.address = service.Spec.ClusterIP + ":" + strconv.Itoa(int(service.Spec.Ports[0].Port))
r.address = fmt.Sprintf("%s.%s.svc:%s", service.Name, service.Namespace, strconv.Itoa(int(service.Spec.Ports[0].Port)))
return nil
}

Expand Down

0 comments on commit 9294890

Please sign in to comment.