-
Notifications
You must be signed in to change notification settings - Fork 98
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
feat(nutanix): add install node popin #14771
feat(nutanix): add install node popin #14771
Conversation
9b69f45
to
94faa2d
Compare
packages/manager/modules/nutanix/src/dashboard/component/install-node-modal/controller.js
Outdated
Show resolved
Hide resolved
packages/manager/modules/nutanix/src/dashboard/component/install-node-modal/module.js
Outdated
Show resolved
Hide resolved
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.
The implementation seems much similar to what has been done for Install & Reinstall (#14772). Try and create reusable components and reuse it for both the cases.
packages/manager/modules/nutanix/src/dashboard/component/install-node-modal/template.html
Outdated
Show resolved
Hide resolved
packages/manager/modules/nutanix/src/dashboard/component/install-node-modal/template.html
Outdated
Show resolved
Hide resolved
ref: MANAGER-15712 Signed-off-by: Thibault Barske <[email protected]>
94faa2d
to
7fdfab9
Compare
packages/manager/modules/nutanix/src/dashboard/component/install-node-modal/module.js
Outdated
Show resolved
Hide resolved
type="text" | ||
name="ahvIp" | ||
data-ng-model-options="{ debounce: 500 }" | ||
data-ng-pattern="$ctrl.IPV4_REGEX" |
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.
nitpick: Use ipaddr.js
to validate the IPv4 address.
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.
Done, I create a directive "ipValidator" and refactor the "redeploy cluster" component with this
Signed-off-by: Thibault Barske <[email protected]>
Quality Gate passedIssues Measures |
feat/nutanix-scale-in-out