Channels
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
general
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#general
Title
c
cool-egg-852
07/18/2019, 9:06 PM
How do you access the resources in a helm chart? Trying to get the name of a resource.
w
white-balloon-205
07/18/2019, 9:41 PM
https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/kubernetes/helm/v2/#Chart-getResource
c
cool-egg-852
07/18/2019, 9:43 PM
That doesn’t actually solve the issue though. That requires you know the name of the resource, I specifically do not know the name of the resource, only it’s type.
Maybe I’m mixing up resource.metadata.name with something else?
w
white-balloon-205
07/18/2019, 9:44 PM
There's also
https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/kubernetes/helm/v2/#Chart-resources
.
c
cool-egg-852
07/18/2019, 9:46 PM
Thanks!
Unfortunately there are so many properties/functions of a helm chart that WebStorm can’t perform it’s intellisense.
w
white-balloon-205
07/18/2019, 9:47 PM
(shame that it's missing documentation - we should add that)
Post