-
Notifications
You must be signed in to change notification settings - Fork 706
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
Update mongodb chart version in deps #1071
Conversation
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
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.
I have tested the upgrade and I didn't found any issue, thanks!
It seems there is a breaking change: you need to remove mongodb.securityContext.enabled = false in the chart. If not there is a permission problem when accessing the PV. |
@sebastien-prudhomme what issue are you seeing? (I didn't notice anything when testing the new version) By default Kubeapps doesn't deploy any PV, are you enabling persistence in MongoDB? |
@andresmgot Yes, i'm using persistence in MongoDB. I've tested with a fresh install and MongoDB keeps crashing because of permission denied. The default value for security context is |
@andresmgot i've just read that MongoDB is used as a cache... |
In MongoDB chart, the In the kubeapps ##
## MongoDB chart configuration
##
## https://github.com/helm/charts/blob/master/stable/mongodb/values.yaml
##
mongodb:
# Kubeapps uses MongoDB as a cache and persistence is not required
persistence:
enabled: false
# MongoDB credentials are handled by kubeapps to facilitate upgrades
existingSecret: kubeapps-mongodb
securityContext:
enabled: false Can you share with us the modifications you did in the |
@carrodher no need to investigate, i will suppress the persistence i added in MongoDB. This is the only modification i made. |
Signed-off-by: Carlos Rodriguez Hernandez crhernandez@bitnami.com
A new MongoDB version was released (helm/charts#15229) fixing an issue in some k8s cluster when IPv6 was disabled in the host, i.e #577.
This version also contains other changes in the chart (from MongoDB chart 5.0.0): https://github.com/helm/charts/tree/master/stable/mongodb#to-500
And also the
bitnami/mongodb
image was moved from nami to bash.