-
Notifications
You must be signed in to change notification settings - Fork 667
[WIP]Kubevirt VmTemplateDetails #1754
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
Conversation
41068a8 to
47c2cae
Compare
|
/retest |
spadgett
left a comment
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 should be implemented as a special route instead of a resource page since we still need to handle templates that aren't VM templates.
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.
You shouldn't override the existing template model. It's already defined.
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.
@spadgett Thanks, this comment should be in:
https://github.com/openshift/console/pull/1673/files#diff-8066fd03cba594c7f8fb2be0890b95f9L55
This PR requires #1673, and this line is actually from the other PR.
I will adress this issue in #1673 👍
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 shouldn't be a resource page since we have an existing resource page for templates (and not all templates are VM templates). This will need to be a special route.
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, 👍 will address this in #1673 :-)
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 will override the default template YAML, which we don't want.
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.
Yes, I know ... see #1673 (comment) and #1673 (comment)
@spadgett Do we have other option to set specialized yaml if path is .../vmtemplates/~new ?
👍 also will address in #1673 :-)
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 will override the default template YAML, which we don't want.
@spadgett @yaacov FYI, we already have an extension check to cover this:
packages/console-app/src/__tests__/extension-checks/yaml-templates.spec.ts
So even if a plugin tries to override an existing YAML template (modelRef & templateName composite key), yarn test still fails due to only one named template per model is allowed.
47c2cae to
852af8a
Compare
8bdcc52 to
540be05
Compare
540be05 to
d3c3617
Compare
d3c3617 to
78628d9
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: yaacov The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@yaacov: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Introduces Details Page for Virtual Machine Templates.
Depends on:
Ref:
#1682