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.
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.