-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getResourceProperty not working with a specified namespace #419
Comments
@hausdorff I assigned it to you to see if you had an idea on the fix. I suspect it's a bug in the provider code here: pulumi-kubernetes/sdk/nodejs/provider.ts Lines 2005 to 2010 in f23736e
|
This is one of the warts of this API, I'm not sure how to fix it from the SDK alone. The basic problem is that we don't know whether a resource is missing a namespace, or the resource is not namespaced at all. And we can't, unless we talk to the provider, which understands the OpenAPI spec. So there is some sense in which this is desired behavior. I'd love to fix it, but I'm not sure how we'd do it. |
This was fixed in #483 |
produces the following error:
Note that namespace was specified as "default". It works if that parameter is omitted.
The text was updated successfully, but these errors were encountered: