damp-room-71337
09/03/2019, 8:35 AMport
, but does correctly include it in url
?
this.hostname = service.metadata.name;
this.port = service.spec.ports.apply(
ports => ports.find(p => p.name === "http").port
);
this.url = pulumi.interpolate`http://${this.hostname}:${this.port}/`;
this.registerOutputs({
hostname: this.hostname,
port: this.port,
url: this.url
});