https://pulumi.com logo
#general
Title
# general
b

best-waiter-16927

08/26/2019, 1:15 PM
Hey, we have an issue when using k8s.helm.v2.Chart . It doesn't exclude 'tests' directory as exists in grafana helm chart, for example : https://github.com/helm/charts/tree/master/stable/grafana/templates
c

cool-egg-852

08/26/2019, 1:56 PM
I forget if it’s by design or not. I believe there was an issue opened about it, don’t remember the end discussion though. For us, we let the tests still run, I just wish we could make them run after everything else easily.
b

best-waiter-16927

08/26/2019, 2:14 PM
The issue is the test fails and it prevents other changes from running.
c

cool-egg-852

08/26/2019, 2:15 PM
We have experienced that, yeah. We’ve had to rerun pulumi so the test is run after the dependencies are ready.
b

best-waiter-16927

08/26/2019, 2:17 PM
How does rerun help here If it keeps failing?
c

cool-egg-852

08/26/2019, 2:17 PM
For the charts we’ve deployed, the test works after what it’s testing is up, therefore running pulumi again solved our issue. We just had to delete the test pod and do a refresh before running up again
b

best-waiter-16927

08/26/2019, 2:19 PM
Oh, in our case it prevents other changes from happening that are not related to the helm chart
c

cool-egg-852

08/26/2019, 2:20 PM
Yes, same here, but once it runs successfully doing this, the other stuff executes. Unfortunately I believe you can’t currently delete a resource, only change it. Let me find that ticket (fyi I don’t work for Pulumi)
b

best-waiter-16927

08/26/2019, 2:21 PM
I got that and i really appreciate your help 🙂
b

best-waiter-16927

08/26/2019, 2:22 PM
Thanks !
c

cool-egg-852

08/26/2019, 2:24 PM
https://github.com/pulumi/pulumi-kubernetes/issues/486 is the other issue I was thinking of.
b

best-waiter-16927

08/26/2019, 2:30 PM
God bless you 🙏
3 Views