-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLOUDP-292365: Support Flex Clusters (#2030)
* Add initial Flex types * Add Flex to translation layer * Add Flex to Deployment controller * Generate mocks * Correctly propogate Flex API to controllers * fix tests * Add SDK Client Set to Contract tests * fix int tests * check for flex before normal cluster * Add flex helper funcs * Update deployment validation to account for flex * small fixes after rebase * Fix remaining broken tests * add e2e test * changes per reviews * Ignore dupl in _test.go files * api: add optional kubebuilder for flex spec * be more tolerant for flex API not available * flex: respect gov * address linter comments * enable flex * use ako deployment type for retrieving clusters from Atlas * fix unit tests * fix unit tests * regenerate mocks * remove checking for serverless vs. non-serverless constraints as it breaks flex * check for wrong cluster types explicitely * act on not found errors only in GetFlexCluster * use deployment names for getcluster * add error code from Atlas signalling wrong API call * fix tests * fix linter * Fix flex e2e * address review comments * add unit tests for flex handler --------- Co-authored-by: Sergiusz Urbaniak <[email protected]>
- Loading branch information
1 parent
7225b1e
commit 802db8c
Showing
35 changed files
with
3,363 additions
and
543 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.