https://pulumi.com logo
Title
b

busy-journalist-6936

02/20/2022, 12:05 AM
I have a parent helm chart which creates service:
controlplane-dktkocdx-kong-cluster
I gave it the label:
<http://konghq.com/service=cluster|konghq.com/service=cluster>
I can find the service name with the command:
kubectl get services -nkong --selector '<http://konghq.com/service=cluster|konghq.com/service=cluster>' -ojsonpath='{.items[*].metadata.name}'
I need this name before I render a child helm chart so I can inject the service name. How do I write a const which looks up this name so I can use it in the child chart?
🧵