Conversation
- remove dependency subchart - delete extra secret - add mongo init container check to datanode
4259235 to
710b90e
Compare
|
@monrax Everything is up and running healthy, awesome job with this huge task! A few questions though before I approve:
This does not break the install, but perhaps we should be explicit with which version of the Chart we're using? Also strange though, because it defaults to v1.3.0 when the Chart's latest version is 1.6.1. But maybe I'm misinterpreting something. |
|
Hey, @williamtrelawny ! Thank you for taking a look. Apologies, I pushed an update to this PR that added a mongo-specific As for 3.
Can you tell me which command you're using to install the MCK Operator? I haven't seen that warning on my end. |
Replace bitnami dependency chart with official MCK operator
This closes #48
Changes
bitnami/mongodbhelm dependency chart.mongodbcommunity.mongodb.com/v1)MongoDBCommunitycustom resource. This introduces themongodb.communityResource.enabledas a replacement for themongodb.subchart.enabledvalue, as well as a manual dependency on the MongoDB Controllers for Kubernetes (MCK) operator.README.mdto include the MCK operator installation as an additional required step.Secret:graylog-mongo-secret.Jobto updateGRAYLOG_MONGODB_URIin favor of retrieving the required value from a corresponding secret created by the MCK operator, and falling back to a default URI value when not available. Support for bothglobal.existingSecretNameandgraylog.config.mongodb.customUriand their usage remains unchanged.Roleand made it optional throughvalues.yaml, together with its correspondingRoleBinding.ServiceAccountwith requiredRoleandRoleBinding(also customizable fromvalues.yaml). See related issue: service account missing when deploying database to different namespace than operator mongodb/mongodb-kubernetes-operator#850How to review this PR?
README.mdfor this branch.helm list -AMongoDBCommunityresource is returned forkubectl get mongodbcommunity -n grayloggraylog-mongo-secretis listed forkubectl get secret -n graylogkubectl get jobs -n graylogkubectl get role -n graylog:graylog-mongo-sa-roleNotes for Reviewers