Closed LennartKoot closed 6 months ago
Hi @LennartKoot, thanks for the detailed issue! We are working on a fix for this which should be released soon as part of 2.1.0. Thanks!
Hi @LennartKoot we were testing today the upcoming release against your reproduction sample above. The good news is the fix is confirmed. But we had to change the GCP regionName to CENTRAL_US
because MongoDB 7.2 was not available in WESTERN_EUROPE
. Just letting you know in case your real deployment might also need this tweak after the upgrade.
Great and thanks for letting me know!
Closing as 2.1.0 is released and this should be fixed - please let us know if you are still seeing this issue!
What did you do to encounter the bug? Steps to reproduce the behavior: Updated the operator from
v1.9.2
tov2.0.1
. All Serverless GCP AtlasDeployment failed to reconcile afterwards. Example spec:The AtlasDeployment CRDs get a new failed status:
What did you expect? We do not use private endpoints, so I expected the Serverless GCP instance to succesfully reconcile with the updated Atlas Operator version.
What happened instead? The operator failed to reconcile existing deployments.
Screenshots
Operator Information
Kubernetes Cluster Information
Additional context Seems to be a reintroduction of #821
Seems like since this code block is now before the GCP check introduced in #822 this fails again for GCP Serverless instances: https://github.com/mongodb/mongodb-atlas-kubernetes/blob/2aeee6a6ae0677d32c343767b81b7db847a33137/pkg/controller/atlasdeployment/serverless_private_endpoint.go#L40-L46