-
Notifications
You must be signed in to change notification settings - Fork 667
Move yaml tempalte to models dir #1842
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
Move yaml tempalte to models dir #1842
Conversation
|
This was requested by @vojtechszocs @suomiy . @mareklibra @vojtechszocs @suomiy @rawagner please review. |
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.
can we go one level deeper into models/templates/ and have a separate file for each template?
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.
make sense to me too ... 👍
225433a to
bef2876
Compare
| .setIn( | ||
| [TemplateModel, 'vm-template'], | ||
| ` | ||
| export const VmTemplateYAMLTemplates = ImmutableMap().setIn( |
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.
please rename to either VirtualMachineTemplate... or VMTemplate...
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.
👍 Nice
| @@ -0,0 +1,2 @@ | |||
| export * from './vm-template-yaml-templates'; | |||
| export * from './vm-yaml-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.
nit: as this is already under models/templates, do we need the extra -templates at the end of the filename?
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.
👍
mareklibra
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.
Left small comment, otherwise lgtm
|
/retest |
1 similar comment
|
/retest |
|
/test e2e-aws |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: suomiy, 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 |
|
/retest |
1 similar comment
|
/retest |
|
/test e2e-aws |
|
/retest |
1 similar comment
|
/retest |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
Move kubevirt-plugin models into a separate dir.
Ref:
#1673 (comment)