Closed sunchill06 closed 2 years ago
Following works fine though. Expect the Operator's advance cluster option also sends the request to v1.5 of the Atlas API?
curl --user "${PUBLIC_KEY}:${PRIVATE_KEY}" --digest \
--header "Content-Type: application/json" \
--include \
--request POST "https://cloud.mongodb.com/api/atlas/v1.5/groups/{GROUP}/clusters?pretty=true" \
--data '{
"clusterType": "REPLICASET",
"name": "tenantCluster",
"replicationSpecs": [
{
"regionConfigs": [
{
"electableSpecs": {
"instanceSize": "M5"
},
"autoScaling": {
"diskGB": {
"enabled": true
},
"compute": {
"enabled": false,
"scaleDownEnabled": false
}
},
"providerName": "TENANT",
"backingProviderName" : "AWS",
"regionName": "US_EAST_1"
}
]
}
]
}'
Thank you @sunchill06 🙏
This does seem like a bug and we are already working on the fix.
Hi @sunchill06, this bug has been fixed. And this fix will be included in the next release. Thank you.
What did you do to encounter the bug? Steps to reproduce the behavior:
However in the atlas documentation I can see
What did you expect? I was expecting the spec to run just fine. Following works fine though.
What happened instead? Error as mentioned earlier.
Screenshots If applicable, add screenshots to help explain your problem.
Operator Information
Kubernetes Cluster Information
Additional context Add any other context about the problem here.
If possible, please include:
kubectl describe
output