When installing a Helm chart with Pulumi, is it po...
# general
g
When installing a Helm chart with Pulumi, is it possible to mark some of the Kubernetes resources it creates as “ignore-changes”?
w
I believe you can use
transformations
to leave off some resources (or modify some resources). cc @gorgeous-egg-16927
g
I don’t want to remove any resources it would create on the first
pulumi up
, I just would like to ignore any changes to those resources on any later runs.
w
Ahh - yes - you can also use
transformations
to add
ignoreChanges
to specific child resources.
g
That sounds like it could work, do you have any examples anywhere?
w
https://www.pulumi.com/docs/guides/crosswalk/kubernetes/apps/#deploy-a-helm-chart has an example. There are a couple in the
examples
repo too. Those modify resource inputs, but you can also get passed the options and modify those - see https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/kubernetes/helm/v2/#ChartOpts-transformations.
g
Great, I’ll dig in 🙂 Thanks for the quick help!