-
Notifications
You must be signed in to change notification settings - Fork 403
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
Add namespace scope to compute template operations #244
Add namespace scope to compute template operations #244
Conversation
0f52403
to
371ca46
Compare
371ca46
to
7eb2ede
Compare
@@ -151,30 +172,41 @@ message ListImageTemplatesResponse { | |||
repeated ImageTemplate image_templates = 1; | |||
} | |||
|
|||
message ListAllImageTemplatesRequest { |
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.
I also made the changes to the Image template, but let me know if this is not necessary.
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.
I think this is ok
The downside is we may introduce The other thing is whether we should use different folder for v1alpha1 and v1alpha2 for PB definitions? This is out of scope of this story and we can have some follow up discussion later. |
Thanks for the contribution. Everything looks good to me and let's merge the change |
I see your points. Yeah, I agree. We can address this when we start adopting DB to store configs.
That's a good point. I guess it depends on if we would like to support multiple API versions at the same time. We can discuss more on this. |
* Update protos to include namespace for template configs * Add namespace scope to compute template operations * Add namespace to compute template cli * Fix proto * Fix api server * Fix cli * Update docs * Add ListAllComputeTemplates endpoint
Why are these changes needed?
This PR adds the namespace scope to get/list/delete for compute templates.
namespace
field to compute templatenamespace
field to compute template get/list/delete requestnamespace
option to cli for compute templatesray-system
as the default*** Update 1 ***
To follow the decisions made in #237, following changes are also included in this PR:
*** Update 2 ***
Related issue number
Closes #238
Checks