https://pulumi.com logo
#kubernetes
Title
# kubernetes
b

bitter-father-26598

08/01/2023, 4:40 PM
How do I get all the resources after a helm.release?
s

salmon-account-74572

08/01/2023, 5:42 PM
Only the Release resource is stored in the Pulumi state; everything in the release is managed by Helm and stored by Helm on the cluster. This page has more details: https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/choosing-the-right-helm-resource-for-your-use-case/
b

bitter-father-26598

08/01/2023, 6:26 PM
Thanks. seems like I am able to get the list of created services, in this case the associated loadBalancer, in a helm release through
_nginxRelease_.resourceNames['Service/v1'][0]
. I wonder what the easiest way is to grab the ipaddress of this service seeing as I have its name
d

dry-keyboard-94795

08/02/2023, 5:47 AM
You could try the Get method to query the resource: https://www.pulumi.com/docs/concepts/resources/get/
There's an example to query the resource in the docs: https://www.pulumi.com/registry/packages/kubernetes/api-docs/helm/v3/release/ Should help get you there