Repository navigation
Conversation
Adds addons-mongodb: the mongodb-kubernetes operator chart 1.13.0 (successor to the deprecated community-operator), enabled per cluster with enable_mongodb, installed into the mongodb namespace. - preserveResourcesOnDeletion: the chart ships the CRDs, so a cascading delete would take every MongoDBCommunity and its data with it. - Defaults keep the chart's single-namespace watch; values.yaml documents the comma-separated watchNamespace override (and why not "*"). - Commented-out reference setup: resources/ with an example 3-member MongoDBCommunity replica set (validated against the chart's CRD schema).
noels
marked this pull request as ready for review
October 3, 2026 16:15
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Jira: GIT-2
What
New addon
addons-mongodb: themongodb-kubernetesoperator chart 1.13.0 (MongoDB Controllers for Kubernetes, the successor to the deprecatedcommunity-operator), fromhttps://mongodb.github.io/helm-charts.enable_mongodblabel → namespacemongodb(CreateNamespace=true).preserveResourcesOnDeletion: true: the chart ships the CRDs, so a cascading delete would remove every MongoDBCommunity → StatefulSet → PVC.environments/default→environments/<env>→clusters/<cluster>foraddons/mongodb-kubernetes/values.yaml. Index-1 chart source, so the private overlay patches apply unchanged.values.yamldocuments the comma-separatedoperator.watchNamespaceoverride. It also says why not"*": the chart then creates the database ServiceAccounts only in the operator namespace.resources/kustomization.yaml(resources: [],Prune=false,Delete=false, sync-wave 10) plusmongodbcommunity-replicaset.example.yaml(3-member replica set, SCRAM user, password Secret from SOPS/ESO).ignoreDifferences: the operator registers its ValidatingWebhookConfiguration at runtime, outside the chart.Checks
kustomize buildpasses for the resources dir, both as committed and with the example enabled.mongodbcommunityCRD schema (jsonschema).helm template: the default watches only the release namespace;watchNamespace: mongodb,my-appcreates the SAs/Roles in both.Depends on
SilexConsulting/gitops-control-plane
GIT-2(allowed_addons += mongodb), so the Terraform precondition acceptsenable_mongodb.