pulumi / pulumi-kubernetesx

Kubernetes for Everyone
Apache License 2.0
135 stars 16 forks source link

Move Service endpoint to a getter #48

Closed lblackstone closed 4 years ago

lblackstone commented 4 years ago

Rather than setting the endpoint as a property in the constructor, create an endpoint getter method. Nothing changes from the user's perspective, but this implementation works better if the k8s provider is rendering YAML rather than managing real resources.