-
Notifications
You must be signed in to change notification settings - Fork 903
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(infrastructure/buttons): Add a new property configurable on sett… (
#7822) * feat(infrastructure/buttons): Add a new property configurable on settings-local.yml to enable/disable the create Kubernetes infrastructure buttons (Create: Server Group, Load Balancer and Firewall). * feat(infrastructure/buttons): Hide buttons instead of disable them, Added same behavior for the Edit dropdown options in both Kubernetes versions; V1 Clusters: (the Edit option does not exist) added on Load Balancer & Firewall, V2 added in all. * feat(infrastructure/buttons): Global flag, configurable by settings-local.js, by default is disabled unless the property is true, applies to create, edit and delete. Discard changes for v1 this feature only applies for v2. * feat(infrastructure/buttons): Add properties by provider and by infrastructure object (Cluster, LoadBalancer and Firewall) * feat(infrastructure/buttons): remove console logs and comments. * feat(infrastructure/buttons): remove console logs and comments. * feat(infrastructure/buttons): Unit Test modifications in order to add the infra flag * feat(infrastructure/buttons): Add a Functional Test in order to support the new behavior: by default the flags are set to false therefore the Create buttons are not shown. Also add infra properties for GCE. * feat(infrastructure/buttons): Use one single flag to enable/disable kubernetes creation buttons, all the other providers are have not been affected. Block the edition/deletion of the objects already created if the flag is set to false. * feat(infrastructure/buttons): revert changes on ProviderSelectionService.spec.ts * change method isDisabled on ProviderSelectionService to return a promise instead a boolean * feat(infrastructure/buttons): CloudProviderRegistry add method to determine if the provider should be disabled in case the 'infraWritesEnabled' property is set to false or undefined, add unit tests * feat(infrastructure/buttons): CloudProviderRegistry add method to determine if the provider should be d isabled in case the 'infraWritesEnabled' property is set to false or undefined, add unit tests * feat(k8s/infra-flag): Add a new property configurable on settings-local.yml to enable/disable the create Kubernetes infrastructure buttons * config(jfrog/repository): rename the property name on the ProviderSelectionService.spec.ts file * feat(k8s/infra): remove kubernetes v2 folder and skin selection Co-authored-by: Jorge Dominguez <jorge.dominguez@armory.io> Co-authored-by: Jorge <jorgebee65@gmail.com> Co-authored-by: Kevin Woo <kevinawoo@gmail.com>
- Loading branch information
1 parent
f4c21d0
commit 0bb9263
Showing
21 changed files
with
203 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.