-
Notifications
You must be signed in to change notification settings - Fork 59
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
MongoDB docs updated for 0.9.0 #304
Conversation
488df11
to
650bbe2
Compare
Couple of things I have found trying to make mongo run:
|
@endrec , Thanks for having look on the changes. The fields you mentioned are required for operator to work, yet the CRDs are valid because the default values are assigned in |
@the-redback webhooks are disabled in the default helm chart, which I'm using on my system. I don't remember anywhere seeing that they has to be enabled, if that was the case, they should be enabled by default, and helm should fail without the CA cert set. |
@endrec webhooks are enabled by default on charts. You can see the chart template here https://github.com/kubedb/cli/tree/master/chart/kubedb/templates. |
@the-redback They are disabled in the default
|
@endrec I see. |
@tamalsaha we can get rid of these |
@the-redback, @tamalsaha anything works for me, as long as the provided examples work with provided helm chart, I would not complain. :) |
@endrec, can you share the command you used to install the Helm chart? We have documented to enable the webhook everywhere we show installer command. https://github.com/kubedb/cli/blob/0.8.0/docs/setup/install.md#using-helm |
@tamalsaha you are right, the example helm command does enable the webhooks. As the docs did not mention that it needs to be enabled, and I did not have |
Sorry, I am not understanding how Helm would have stopped you? Can you please elaborate a bit more? It is possible that my Helm knowledge is outdated. It is hard to keep up with all these fast moving technology. Also, you need to provide
The reason we keep these options disabled by default is somewhat historical at this point. We used to host our charts in https://github.com/helm/charts repo. That repo has some automated tests that will fail if webhooks are enabled by default because there was no value passed to Ideally helm/helm#3501 should be fixed and then we can enable these values by default. Otherwise someone installing the chart with default values |
Sorry @tamalsaha, I might not have been clear enough. I think if |
I just tried with just enabling the webhook but not providing
I don't think this error message tells the user that The problem with Helm is that it is very rigid and provides an inflexible ux for Chart authors. I sympathize with your scenario but I don't see a good option either way at the current time. I agree that we should update the README.md for chart I am trying to see if we can fix the issue at Helm . https://twitter.com/tsaha/status/1045986311234977794 . But I can't promise when this will be fixed. I opened the issue 8 months ago and there is no activity. In the interim, we could probably update the webhooks from operator (similar to how we register CRDs). But that is kind of hacky and I am not sure how that will play with Chart upgrades, etc. |
A big, bold warning in the readme would certainly help me. 🙂 Actually, registering the webhooks from the operator is not a bad idea, you can check the k8s version there, you can access the ca cert, you have everything needed. In my mind they belong to the operator, just like the CRDs. |
#313 and kubedb/docs#197 remove the need for |
2589053
to
e2a2bc8
Compare
# Conflicts: # docs/guides/redis/README.md
xref: https://github.com/kubedb/project/issues/235
xref: https://github.com/kubedb/project/issues/192
xref: https://github.com/kubedb/project/issues/170
xref: https://github.com/kubedb/project/issues/288