-
Notifications
You must be signed in to change notification settings - Fork 116
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
[dotnet] fix parsing of CustomResources #1741
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, @polivbr!
@mikhailshilkov, could you review this? LGTM, but C# is not my strong suit.
PR is now waiting for a maintainer to run the acceptance tests. This PR will only perform build and linting. Note for the maintainer: To run the acceptance tests, please comment /run-acceptance-tests on the PR |
/run-acceptance-tests |
Please view the PR build - https://github.com/pulumi/pulumi-kubernetes/actions/runs/1305326632 |
Interesting. Will this also fix #1225? |
Possibly -- I'm pretty surprised that this wasn't caught before, because it seems like it should have prevented a lot of Helm and YAML resources from working correctly in C#. |
Proposed changes
There is a bug in the .NET SDK where it attempts to create CustomResourceDefinitions rather than CustomResources
for unknown resource types. This PR fixes this.
Related issues (optional)
#1120