renderYamlToDirectory is still dependent on a kubernetes cluster connection #3498
Labels
impact/usability
Something that impacts users' ability to use the product easily and intuitively
kind/bug
Some behavior is incorrect or out of spec
What happened?
There are several situations where pulumi errors when using
renderYamlToDirectory
- althought it's supposed to be a completely "offline" way to generate kubernetes manifests:If the "KUBECONFIG" environment variable is set (a very common way of pointing kubectl to a config), pulumi errors out:
if the active kubeconfig is pointing at a cluster that is not reachable for some reason (for example, expired credentials): This does not cause errors, but the error from kubeconfig is printed, so it's a clear indication that pulumi attempts to communicate with the configured cluster
Example
See above
Output of
pulumi about
Additional context
When using
renderYamlToDirectory
, pulumi should avoid any cluster communication using kubectl.Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: