-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
create_from_yaml is converting rbac.authorization.k8s.io/v1 incorrectly #708
Comments
Hi - I wrote the YAML feature. Indeed this is a pattern that I did not see when I wrote the feature. /assign Is it an urgent issue that you need to be fixed? |
I don't need it right away. Just reporting a bug. |
I wrote a quick fix that I'd like to contribute. Besides the CLA for companies, what else should I do? I want to test this throughly :) |
Hi @kmai - |
@kmai - Hi, I'm working on a POC - would you mind sharing your quick fix for this to save me some time? |
Hi @jasonmimick, If you're adventurous, I welcome you to test out the code in PR #767. |
The create_from_yaml function in utils is gets an error when trying to create resources that use the rbac api. For example, when trying to create the role below with create_from_yaml.
It results in the following error.
rbac.authorization.k8s.io/v1 is being converted into Rbac.authorizationV1Api instead of RbacAuthorizationV1Api. Additional logic is needed to convert this correctly.
The text was updated successfully, but these errors were encountered: