-
Notifications
You must be signed in to change notification settings - Fork 81
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
CLOUDP-205482: Remove legacy deployment #1182
Conversation
a8b1b38
to
73120ed
Compare
2d2767c
to
c8ff524
Compare
c8ff524
to
fb2b806
Compare
pkg/controller/atlasdeployment/atlasdeployment_controller_test.go
Outdated
Show resolved
Hide resolved
@@ -86,14 +77,7 @@ func deploymentForGov(deployment *mdbv1.AtlasDeploymentSpec, regionUsageRestrict | |||
var err error | |||
|
|||
if deployment.DeploymentSpec != nil { | |||
regionErr := validCloudGovRegion(regionUsageRestrictions, deployment.DeploymentSpec.ProviderSettings.RegionName) |
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.
not sure why this gov related check is no longer needed here, can you elaborate?
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.
Since there is no more legacy clusters, regions need to be validated for every replica set. See this method is called below.
@@ -40,4 +40,4 @@ export MCLI_PUBLIC_API_KEY="${public_key}" | |||
export MCLI_PRIVATE_API_KEY="${private_key}" | |||
export MCLI_ORG_ID="${org_id}" | |||
export IMAGE_URL="${image}" #for helm chart | |||
AKO_E2E_TEST=1 ginkgo --label-filter="${focus_key}" --timeout 120m -v test/e2e/ | |||
AKO_E2E_TEST=1 ginkgo --label-filter="${focus_key}" --timeout 120m -vv test/e2e/ |
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.
do we need this verbosity in the final version?
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.
This gives a better output for the errors. And this is only for the local usage as you can see
I suspect the helm update issue might not be transient? |
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.
Good overall! Massive work as usual. Just some clean up required
pkg/controller/atlasdeployment/atlasdeployment_controller_test.go
Outdated
Show resolved
Hide resolved
LGTM, waiting for testing to go green to approve |
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.
LGTM, lets proceed
Changes
spec.advancedDeploymentSpec
from theAtlasDeployment
resource.spec.deploymentSpec
now contains fields fromspec.advancedDeploymentSpec
All Submissions:
closes #XXXX
in your comment to auto-close the issue that your PR fixes (if there is one).