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): filter out providers that don't support creating security groups #7370

Merged

Conversation

clareliguori
Copy link
Member

@clareliguori clareliguori commented Aug 30, 2019

Allow some providers' security group support to be 'read only': viewing the existing security groups is supported, but new security groups cannot be created through Spinnaker.

Fixes spinnaker/spinnaker#3794

Today this only covers the ECS provider: security groups can be created through the associated AWS account with the AWS provider's security group creation flow, instead of duplicating that flow in the ECS provider.

The result of this change is that for a Spinnaker instance with AWS and ECS providers enabled, the 'Create Firewall' button goes straight to the AWS provider modal, instead of allowing a choice between the AWS and ECS provider.

Screenshot from 2019-08-30 12-06-02

But both AWS and ECS security groups are still shown in the list view:

Screenshot from 2019-08-30 12-07-49

@clareliguori clareliguori merged commit 64e47b4 into spinnaker:master Oct 7, 2019
christopherthielen added a commit to christopherthielen/deck that referenced this pull request Oct 7, 2019
3192f2c fix(core/pipeline): When a trigger is updated, replace the entire object (spinnaker#7496)
64e47b4 feat(core): filter out providers that don't support creating security groups (spinnaker#7370)
2ef8788 fix(core): Separate how config and plans are updated, add tests (spinnaker#7491)
christopherthielen added a commit that referenced this pull request Oct 7, 2019
3192f2c fix(core/pipeline): When a trigger is updated, replace the entire object (#7496)
64e47b4 feat(core): filter out providers that don't support creating security groups (#7370)
2ef8788 fix(core): Separate how config and plans are updated, add tests (#7491)
yunzhangit pushed a commit to yunzhangit/deck that referenced this pull request Mar 28, 2021
… groups (spinnaker#7370)

* feat(core): filter out providers that don't support creating security groups
yunzhangit pushed a commit to yunzhangit/deck that referenced this pull request Mar 28, 2021
3192f2c fix(core/pipeline): When a trigger is updated, replace the entire object (spinnaker#7496)
64e47b4 feat(core): filter out providers that don't support creating security groups (spinnaker#7370)
2ef8788 fix(core): Separate how config and plans are updated, add tests (spinnaker#7491)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants