-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Inline Mongo DB chart #10151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Inline Mongo DB chart #10151
Conversation
|
Thanks for raising this concern about Bitnami's transition. However, inlining 14,500+ lines of chart code isn't the right solution here. The good news: Bitnami's Helm chart source code remains open source and actively maintained on GitHub under Apache 2 license. Only the pre-packaged OCI artifacts are affected. Better alternatives:
mongodb:
image:
registry: cgr.dev
repository: chainguard/mongodbInlining makes the chart unmaintainable and harder to update. References: |
|
First of all, I agree that inlining 15 K lines of code is not ideal. As for your suggestions, I am not sure either is a good option. Chainguard does not open source their charts and their helm chart documentation is not very good. This seems like another commercial company that may do a bitnami rug pull at any time. Percona is also a commercial company but their charts are open sourced I think. However, I dont think their chart is a drop in replacement. Their chart is specifically made for their own MongoDB offering (which is built on top of the community version). It is free but the chart is using an operator so the setup is different. In general: there are very few, if any, alternatives to bitnami, which are both drop-in and open-sourced. The only I could really find is this: https://github.com/CloudPirates-io/helm-charts. Their MongoDB chart might work well for LibreChat, although from what I can tell it is somewhat barebones. Unless you want to wait until the ecosystem has matured and a full-fledged open-sourced alternative is available, I think the best solution is for you to host a MongoDB chart yourself. I found this tool from bitnami, which supposedly allows you to easily sync charts to your own registry. That might be useful for you, although I have not tried it myself. |
ce989a3 to
76a845d
Compare
d55d822 to
bbbd167
Compare
|
My MongoDB entry in the chart so far: mongodb:
image:
repository: mongodb/mongodb-community-server
tag: 8.0.13-ubi8
persistence:
size: 8Gi
mountPath: /data/db
volumePermissions:
image:
registry: ghcr.io
repository: ccnmxns/os-shell-alpine
tag: release-3.22
securityContext:
seLinuxOptions: {}
runAsUser: autoI hope it will help someone else. I even made a OS Shell replacement for Bitnami's OS Shell. |
26fa876 to
f6eadb2
Compare
ff514de to
ee95af9
Compare
7994a36 to
6a49309
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESLint found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
95fac35 to
afc7088
Compare
afc7088 to
d2408d6
Compare
This PR inlines the charts for mongodb so that librechat will not have a dependency on bitnami which has become unreliable after their recent transition into commercial offerings.
I know the amount of code is alot. It may be better to host the code in a registry that librechat owns long term. But for now this works.
Pull Request Template
Summary
Please provide a brief summary of your changes and the related issue. Include any motivation and context that is relevant to your changes. If there are any dependencies necessary for your changes, please list them here.
Change Type
Please delete any irrelevant options.
Testing
Please describe your test process and include instructions so that we can reproduce your test. If there are any important variables for your testing configuration, list them here.
Test Configuration:
Checklist
Please delete any irrelevant options.