This message was deleted.
# general
s
This message was deleted.
k
to answer my question, I guess I can call apply on the Chart.resources and build my list in there
g
Out of curiosity, what prevents you from using the
helm.v3.Chart
resource directly? It’s usually possible to use transformations to patch in changes to an upstream chart.
k
@gorgeous-egg-16927, good question, I'm trying to apply the spark-operator chart and am having continual issues with the cleanup jobs running out of order and cleaning up resources created as part of the current deployment instead of any previous deployment So I either 1) run the cleanup jobs and wait for completion or 2) exclude them (current plan) Neither is ideal but I need to get unblocked so the current approach is a hack but I can't see a way to exclude the jobs via the transformation callback
g
I think you’re in luck… https://www.pulumi.com/docs/reference/pkg/kubernetes/helm/v3/chart/#chart-with-transformations shows how to omit a resource from a chart. See if that solves it for you
k
Thanks so much @gorgeous-egg-16927, that solves all my (current) problems 🤗
🎉 1
Do you know why a pre-delete hook would be running on every up, even after a destroy?
g
Not off the top of my head, sorry
k
np, i'll try and dig further to see if it's a bug, cheers