-
Notifications
You must be signed in to change notification settings - Fork 10
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
[AM-4684] Add Flink model roles to CLI list/describe commands #2769
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!
@@ -19,6 +19,7 @@ var ( | |||
identityNamespace = optional.NewString("identity") | |||
flinkNamespace = optional.NewString("flink") | |||
workloadNamespace = optional.NewString("workload") | |||
flinkModelNamespace = optional.NewString("flinkmodel") |
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.
This is not scaling very well since your team has had to open 9 separate PRs to gradually add all of these namespaces... Has your team considered controlling this list of namespaces in the backend?
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.
cc @AydenAdair
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.
We can consider looking into controlling this via the backend but often the CLI and UI have different needs (ie. these roles only need to be available in the CLI for the EA) so doing it via the backend may end up being more work. These roles are scheduled to be in EA this week though so we may not have enough time to figure that out in this change.
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.
Let's merge this PR as is, but in the future it would be great to add this to the backend. I assume you could add a switch to distinguish if a request is coming from the UI vs CLI in the backend!
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.
(At the very least, let's create a ticket for this!)
Do you want to add any release notes by the way @lucy-fan? If the changes are early access only, you can prefix the release notes with |
@lihaosky Do you want any release notes for the Flink Model role CLI changes? |
I guess not since this won't forbid users to create the role binding. Not necessary to advocate it I think. |
What
Adds the Flink model roles to the list and describe roles commands to support the Flink Model EA.
References
Test & Review