Hi folks, I'm facing a problem with pulumi's kube...
# general
s
Hi folks, I'm facing a problem with pulumi's kubernetes NamespacePatch resource. Whenever I'm using it to patch an existing namespace, pulumi will fail, telling me that this resource already exists. This seems to be the whole point of that resource, to be applied if the namespace does already exist. The namespace to be mutated is created by the same provider. If I use the NamespacePatch for a namespace name that does not exist already, this namespace is created by it. Maybe anybody got an idea what I'm doing wrong here?
g
Have you looked through the guide here? https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/ If that’s still not working for you, please file an issue on https://github.com/pulumi/pulumi-kubernetes/
s
Yep, my resources look exactly like the last examples for NamespacePatch ("patch1"). I'll file the issue, then
👍 1