I have a parent helm chart which creates service: ...
# typescript
b
I have a parent helm chart which creates service:
Copy code
controlplane-dktkocdx-kong-cluster
I gave it the label:
Copy code
<http://konghq.com/service=cluster|konghq.com/service=cluster>
I can find the service name with the command:
Copy code
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?
🧵