This message was deleted.
# kubernetes
s
This message was deleted.
g
Make sure that all of your k8s resources are setting the
provider
opt to that exported value. If this opt is not set, it will default to using the ambient kubeconfig settings, so it may be pointing to a locally configured cluster by mistake.
p
Ah yes thats it! For one of the resources I forgot to set the provider. This saved me a ton of googling, thank you!
👍 1
g
Some users also like to set an invalid
kubeconfig
as part of the stack config to prevent this mistake.
pulumi config set kubernetes:config:kubeconfig "dummy"
This will cause those resources to fail with an error
p
Oh that’s great, thanks 🙂