is there any plans to support `helm hooks` ? if he...
# kubernetes
i
is there any plans to support
helm hooks
? if helm chart has it, there is no way to install it
Copy code
"<http://helm.sh/hook|helm.sh/hook>": "pre-install,pre-upgrade"
    "<http://helm.sh/hook-weight|helm.sh/hook-weight>": "5"
    "<http://helm.sh/hook-delete-policy|helm.sh/hook-delete-policy>": "before-hook-creation,hook-succeeded"
helm chart (private) uses very deep integration with
helm hooks
@gorgeous-egg-16927 https://github.com/pulumi/pulumi-kubernetes/issues/555 I saw this, but that transformation deletes all hooks… could you please help understand internally, does pulumi helm provider run
helm template
? before installing the chart? so to support hooks, we need to
helm template
first, parse annotations and set dependencies for pulumi resources?
I will appreciate the feedback here! thanks
g
We don’t have current plans to support helm hooks. Our provider uses
helm template
to generate YAML, and then works off of that: https://www.pulumi.com/docs/reference/pkg/kubernetes/helm/v3/chart/#chart That said, we will likely rewrite support to use the Helm library directly later this year instead of shelling out to the
helm
binary, so it might be possible to support at that point. I’m not sure without digging into it further.
i
thanks!
for pulumi-helm?
looks like that provider supports helm hooks