This message was deleted.
# kubernetes
s
This message was deleted.
g
Yep, just update the resource definition and run a
pulumi up
.
f
Hi @gorgeous-egg-16927 I am not sure I am following. If I add a `
Copy code
new k8s.core.v1.ConfigMap
block Pulumi tries to create that config map but it already exists, because it was created by the helm chart. I just want to be able to update the data of that config map, not create it. What did I misunderstand? 🙂
The example you linked to creates the config map explicitly first, and then references it in the Nginx deployment. It's not the same thing, is it?
g
Oh, sorry. I didn’t notice you were using Helm for this. Depending on the chart, you should be able to make changes either through the chart config (values), or with a transformation. https://www.pulumi.com/docs/reference/pkg/kubernetes/helm/v3/chart/#set-chart-values https://www.pulumi.com/docs/reference/pkg/kubernetes/helm/v3/chart/#chart-with-transformations
f
Thanks, will read it and hopefully understand it 😄