I added Grafana's helm chart using pulumi, and whi...
# kubernetes
b
I added Grafana's helm chart using pulumi, and while it works great, every
pulumi up
detects changes in a secret and in an annotation (checksum/secret). How do you use
ignoreChanges
with helm chart's sub resources?
if anyone's interested, I managed to do this by adding the
ignoreChanges
directly to the sub-resource using
transformations
g
Yep, that's exactly the right way to do it! I was just trying to find you an example - glad you figured it out.
❤️ 1
Here's the example I was looking for for anyone else that comes across this question. https://gist.github.com/clstokes/f15754bde4251ac151a3b4be8679dc42#file-index-ts-L43-L65
b
Cheers 😄 Do you happen to know how to change the type of a componentResource? I tried
super('foo:bob', name, {}, {aliases: [{name: 'foo:alice'}]})
but that obviously does not work (my workaround is to edit the state.json directly)
g
you should be able to do
{aliases: [{type: 'foo:alice'}]}
type
instead of
name
❤️ 1