fix: use appsmith-built mongodb image by default in helm chart#41506
fix: use appsmith-built mongodb image by default in helm chart#41506wyattwalter merged 1 commit intoreleasefrom
Conversation
WalkthroughUpdates Helm chart version from 3.6.7 to 3.6.8 and modernizes MongoDB configuration by updating the image repository from bitnamilegacy/mongodb to appsmith/mongodb and versioning from 6.0.13/6.0.10 to 6.0.27 across dependencies and runtime values. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-08-12T14:17:36.392ZApplied to files:
🔇 Additional comments (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| version: 12.1.16 | ||
| appVersion: 6.0.10 | ||
| appVersion: 6.0.27 | ||
| repository: https://charts.bitnami.com/bitnami |
There was a problem hiding this comment.
Can you please help me understand why are we still relying on bitnami for chart dependencies?
There was a problem hiding this comment.
Switching off the Bitnami chart is the most difficult step here. They offered a well-supported chart that supported replicasets and made it easy, then the free offering was removed. The MongoDB chart for replicasets has been deprecated in favor of a Kubernetes operator-based system that's a much larger and complicated change. There are other charts that have popped up recently, but have varying levels of support/popularity.
We will likely migrate to one of those, but there will likely be changes incompatible with the Bitnami chart that we'll need to account for and assist with the migration. This is not the moment for that.
| repository: bitnamilegacy/mongodb | ||
| tag: 6.0.13 | ||
| repository: appsmith/mongodb | ||
| tag: 6.0.27 |
There was a problem hiding this comment.
Thanks for the detailed context in the description. One clarification I wanted to check: are the MongoDB 7.x and 8.x images you mentioned (7.0.28, 8.0.17) published under the official appsmith/mongodb namespace and intended to be supported long term, or were they built mainly for validation and testing purposes?
This would help clarify whether users can safely start new installations on 7.x or 8.x using Appsmith maintained images, or if 6.0.x is the only supported default for now.
There was a problem hiding this comment.
Appsmith works with MongoDB 6, 7, or 8. Some customers, on their own, upgraded to 7 and 8 using the Bitnami image so I wanted to give them a path in the short term. The change was basically the same and it was very low effort to relieve the pain, so I did it.
I would like to start pushing installs to version 7 and then 8 (you can't leap major versions, which makes this more complicated), but the Bitnami images/chart do not automatically upgrade the compatibility version so it's difficult to do with the existing tooling.
I'd like to be able to offer a patch for this vulnerability without making those kinds of changes just yet.
Description
Tip
Add a TL;DR when the description is longer than 500 words or extremely technical (helps the content, marketing, and DevRel team).
Please also include relevant motivation and context. List any dependencies that are required for this change. Add links to Notion, Figma or any other documents that might be relevant to the PR.
This PR updates the default image for a MongoDB cluster managed by the chart to use an image that has been patched for the recent MongoBleed vulnerability, since Bitnami stopped publishing updates to their images.
While not ideal, I made a few time-boxed attempts after the deprecation to use a non-Bitnami image while maintaining compatibility with the chart, but the coupling is too tight to patch over reliably. Ultimately, we need to remove the Bitnami chart from our stack, but that carries too much risk for a simple and critical security patch.
Since the Bitnami images are licensed under Apache 2.0, I’ve forked their builder and published a set of images for each major MongoDB version with the MongoBleed patch included: 6.0.27, 7.0.28, and 8.0.17. I’ve tested deployments using each of these versions, including an upgrade scenario. If anyone reading this decides to upgrade to 7.x or 8.x, please be sure to follow the upstream MongoDB documentation about feature compatibility here, as we do not yet have an Appsmith-specific MongoDB upgrade guide and this is not automatically handled by MongoDB.
Automation
/ok-to-test tags=""
🔍 Cypress test results
Caution
If you modify the content in this section, you are likely to disrupt the CI result for your PR.
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.