I am fuming but not really. Actually this is fine, im having fun 😄 but seriously:
I know, entitled developer expects things to work. I never, even for a second, assumed that pulumi is not handling Helm transparently and it is in fact breaking charts that utilize hooks. And with all the upcoming k8s operator / controllers and CRDs more and more charts seem to be incorporating them.
TL DR Pulumi cannot be used for Helm charts unless the chart is quite small and after every upgrade I can verify that no hooks are utilized.
02/01/2021, 9:54 PM
thanks for the feedback, and sorry for the frustration 😞
We're having discussions about helm hooks and the helm support, we see the frustration here and are figuring out how to support going forward
02/01/2021, 10:05 PM
@billowy-army-68599 im sorry for overreacting a bit, its late and I spent too much free time on this problem as I was really curious what it is (its not work when its fun, right 😄 )
🙂 now that I know about this I would mostly wish for some warnings to be added in the docs (or there already are and I promptly missed them). And if supporting this Helm feature is still possible at some point that would be great ofc. But its probably a more complicated matter under the hood.
02/02/2021, 7:46 AM
@red-lighter-44012 you could try and install via pulumi the helm-operator and deploy the helm-operator’s custom resources instead of using pulumi for deploying the charts
I think the helm-operator should behave well with the helm hooks and that could solve your problem
I’m considering doing this migration as well
02/02/2021, 8:19 AM
@clever-byte-21551 thanks for the suggestion, I added it to my tasks for next week. I'm a bit behind schedule as this migration to traefik v2 turned out to be more painful than anticipated 😄 but I'll test it for sure.