I’m adding two TS `exports` to my Pulumi project f...
# kubernetes
l
I’m adding two TS
exports
to my Pulumi project from a k8s
Service
resource but only a single output is created:
Copy code
exports.temporalFrontendEndpoint = temporal_frontendService.spec.externalName;
exports.temporalFrontEndName = temporal_frontendService.metadata.name;
results in:
Copy code
--outputs:--        
  + temporalFrontEndName: "temporal-frontend-vw2qfr65"
Any idea why the
externalName
is not created as an output?
b
This is usually because the value is nil, can you double check that field exists via kubectl?
l
I’m naively thinking this would give me the
<servicename>.<namespace>.svc.cluster.local
address. I’m probably wrong. Any idea which field would give me that kubedns name?
Or do I have to calculate this myself? E.g.
Copy code
pulumi.interpolate `${temporal_frontendService.metadata.name}.${temporal_frontendService.metadata.namespace}.svc.cluster.local:7233`