i

    incalculable-midnight-8291

    3 weeks ago
    Is there some way to tag
    k8s.helm.v3.Release
    so that pulumi skips uninstall on a stack destroy, where the cluster itself will be taken down?
    b

    billowy-army-68599

    3 weeks ago
    can you elaborate? you’re destroying the cluster so you don’t want bother deleting the helm release?
    i

    incalculable-midnight-8291

    3 weeks ago
    Exactly. There wont be any service of loadbalancer type, so nothing externally created. And the ec2-instances where everything is running will be deleted. So feels a bit iffy to wait for uninstalls since sometimes kubernetes namespaces or pods gets stuck in Terminating state that needs manual patching of the finalizers to get rid of
    b

    billowy-army-68599

    3 weeks ago
    Try setting
    retainOnDelete
    on the resource provider: https://www.pulumi.com/docs/intro/concepts/resources/options/retainondelete/ it’ll just get removed from state, but the resource gets left alone
    i

    incalculable-midnight-8291

    3 weeks ago
    Usecase: automatic setup / teardown of environments for tests in our platform team
    That will do it!
    Huuuuuuge thanks man!
    🍰