Skip to content
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(core/amazon/titus): do not allow create/clone in managed clusters #7754

Merged
merged 2 commits into from
Jan 10, 2020
Merged

feat(core/amazon/titus): do not allow create/clone in managed clusters #7754

merged 2 commits into from
Jan 10, 2020

Conversation

anotherchrisberry
Copy link
Contributor

In the UI, we're doing a pretty good job preventing users from performing actions that will just get stomped. The create/clone server group flow is a little tricky: we want to let them select "Clone" on a managed server group: they might want to use it as a base to create a different (non-managed) cluster. And we can't disable the "Create server group" button.

This PR adds an alert that invalidates the command whenever they have configured the new server group to be in a managed cluster.

When the user clicks the button to pause management, there's that modal-over-a-modal experience, which I don't like, but it's important to really confirm that the user wants to pause management.

(forgive the deprecated region warning also being here, I am having trouble with my sandbox environment so using some other one)
hey-pauso

Copy link
Member

@erikmunson erikmunson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😎Lit. Only major question: should we be replacing the error/warning well with some sort of reassuring 'yes, you actually did pause this thing!' confirmation when you click pause? Or is it fine to just take away the warning? I'm not strongly opinionated.

@anotherchrisberry anotherchrisberry added the ready to merge Reviewed and ready for merge label Jan 10, 2020
@mergify mergify bot added the auto merged Merged automatically by a bot label Jan 10, 2020
@mergify mergify bot merged commit 4302a0f into spinnaker:master Jan 10, 2020
@anotherchrisberry anotherchrisberry deleted the create-clone-managed-warning branch January 10, 2020 01:07
yunzhangit pushed a commit to yunzhangit/deck that referenced this pull request Mar 28, 2021
spinnaker#7754)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto merged Merged automatically by a bot ready to merge Reviewed and ready for merge target-release/1.18
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants