-
Notifications
You must be signed in to change notification settings - Fork 367
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
fix: [M3-9025] - Region validation when switching to LKE-E #11471
fix: [M3-9025] - Region validation when switching to LKE-E #11471
Conversation
packages/manager/src/features/Kubernetes/CreateCluster/CreateCluster.tsx
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.
Resetting the region looks good!
I don't know how nitpicky we want to get about the checkout message - I did notice that it will say to 'select a region and add a node pool' when a node pool has already been added, and the valid region is the only thing needed. Since it does disappear as soon as the region is selected and the CTA is correctly enabled, I don't really think this will cause much confusion and it could be okay as is.
Screen.Recording.2025-01-06.at.10.30.15.AM.mov
Coverage Report: ❌ |
Cloud Manager UI test results🎉 469 passing tests on test run #2 ↗︎
|
Cloud Manager E2E Run #7039
Run Properties:
|
Project |
Cloud Manager E2E
|
Branch Review |
develop
|
Run status |
Passed #7039
|
Run duration | 29m 55s |
Commit |
7432afdb4b: fix: [M3-9025] - Region validation when switching to LKE-E (#11471)
|
Committer | Hana Xu |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
4
|
Pending |
2
|
Skipped |
0
|
Passing |
471
|
View all changes introduced in this branch ↗︎ |
) ## Description 📝 Fix region validation when a user is switching from LKE to LKE-E tier in the Kubernetes create flow ## How to test 🧪 ### Prerequisites (How to setup test environment) - Ensure you have the customer tags for LKE-E (check project tracker) ### Reproduction steps (How to reproduce the issue, if applicable) - [ ] Go to another branch or dev environment and navigate to the Kubernetes create page - [ ] Enter a cluster label, select LKE as the tier, select a non LKE-E supported region (i.e. Atlanta, GA), select a HA control plane option, add a plan - [ ] Change the selected tier to LKE-E. Notice the region select is cleared but the Create Cluster button is enabled. Clicking Create Cluster shows an error text in the Region field ### Verification steps (How to verify changes) - [ ] Checkout this branch or PR preview link and navigate to the Kubernetes create page - [ ] Enter a cluster label, select LKE as the tier, select a non LKE-E supported region (i.e. Atlanta, GA), select a HA control plane option, add a plan - [ ] Change the selected tier to LKE-E. The region select should be cleared and the Create Cluster button is disabled
Description 📝
Fix region validation when a user is switching from LKE to LKE-E tier in the Kubernetes create flow
Preview 📷
Screen.Recording.2025-01-03.at.11.37.48.AM.mov
Screen.Recording.2025-01-03.at.11.39.19.AM.mov
How to test 🧪
Prerequisites
(How to setup test environment)
Reproduction steps
(How to reproduce the issue, if applicable)
Verification steps
(How to verify changes)
Author Checklists
As an Author, to speed up the review process, I considered 🤔
👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support
As an Author, before moving this PR from Draft to Open, I confirmed ✅