The reason why I need `clusterIP` to be of type `p...
# golang
b
The reason why I need
clusterIP
to be of type
pulumi.StringPtrOutput
instead of
pulumi.AnyOutput
is because I'm passing it on into the environment variable of a kubernetes pod.
a
Is the pod and service in the same namespace? Kubernetes by default passes in services ip as env vars with a feature called service links.
b
Ah, this approach also works!
🎉 1