Open lblackstone opened 4 years ago
It might be useful to include a helper method that generates a complete URL for a Service.
Something along the lines of:
export const url = service.url( { port: "http" });
url: "http://localhost:80"
Currently this can be accomplished manually with something like
export const endpoint = pulumi.interpolate`http://${service.endpoint}:${service.spec.ports[0].targetPort}`;
It might be useful to include a helper method that generates a complete URL for a Service.
Something along the lines of:
Currently this can be accomplished manually with something like