Can we force-delete all resources that Pulumi comp...
# kubernetes
s
Can we force-delete all resources that Pulumi complains already exist? I got some undeleted clusterroles and helm charts that I'd like to simply wipe. I must've deleted the older pulumi stack, so now a bunch of items are dangling. What's the most elegant way to start off a clean slate?
w
If you still have the stacks around for the old resources, then destroying those stacks is best. If you don't or if somehow these resources became orphaned from the stack that created them, there’s no built-in way today to force replace the existing resource. This feature request is very similar (or maybe the same) to https://github.com/pulumi/pulumi-kubernetes/issues/264, which is one of the most requested improvements for the Pulumi Kubernetes provider, which I expect we’ll relook at addressing soon.
❤️ 1