You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to set up a MongoDB Community Kubernetes Operator following the official guide, however, I am facing an issue when installing CRDs with helm:
Error: API did not recognize GroupVersionKind from manifest (CRD may not be installed)
no matches for kind "MongoDBCommunity" in group "mongodbcommunity.mongodb.com"
resource "helm_release" "mongodb" {
namespace = kubernetes_namespace_v1.default.metadata[0].name
repository = "https://mongodb.github.io/helm-charts/"
chart = "community-operator"
version = "0.12.0"
name = "community-operator"
set {
name = "createResource"
value = true
}
set {
name = "resource.version"
value = var.MONGO_VERSION
}
}
This does not create any Kubernetes resrouces.
kubectl get crds | grep mongodb
kubectl get all -n mongodb
Both commands do not return any Kubernetes results.
I cannot understand... Is something wrong with the way I install the community operator using the Terraform Helm provider?
Has anybody had luck with Kubernetes MongoDB Community Operator and Terraform as IaC?
I am trying to set up a MongoDB Community Kubernetes Operator following the official guide, however, I am facing an issue when installing CRDs with helm:
Error: API did not recognize GroupVersionKind from manifest (CRD may not be installed)
no matches for kind "MongoDBCommunity" in group "mongodbcommunity.mongodb.com"
Terraform HCL setup:
create.yaml
which is failingThe text was updated successfully, but these errors were encountered: