Hi, I'm stuck using getResource on a Helm chart to...
# general
b
Hi, I'm stuck using getResource on a Helm chart to get the loadBalancer hostname of a nginx k8s service. I'm running
Copy code
const hostname = nginx.getResource("v1/Service", ns, "nginx-ingress-controller").status.apply(s => s.loadBalancer.ingress[0].hostname);
but I get
Copy code
TypeError: Cannot read property 'loadBalancer' of undefined