-
Notifications
You must be signed in to change notification settings - Fork 75
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
[WIP] Upgrade to cert-manager from kube-lego #1162
Conversation
In the past I've had problems with CRDs and uses of CRDs. Basically the implementation of the CRD has to be installed before anything that defines an instance of the CRD. The docs for the cert-manager Helm chart suggest it's even more confusing 😟: |
Thanks @manics, yes @consideRatio and I ran into this issue when installing cert-manager on the Turing's BinderHub when we were in Oslo 😊 I'm more asking if I've removed anything important from the config 😱 |
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 think renaming all the ingress TLS termination secrets at once could leave us throttled or temporary banned with lets encrypt as there were more than 4 or so. You could copy the existing secrets to the new name if you like to mitigate this issue, or look up lets encrypt documentation details about this as I'm certainly not certain about this being an issue or how it will behave if it is an issue.
I didn't have time to review this in depth but it is better than no review at all :) Thanks for working on this @sgibson91 !!! ❤️
BTW: How is labels typically set in this helm charts kubernetes resources? Perhaps we should mimic that rather than introducing helpers to set the labels? I think we should aim for consistency with the repo rather than consistency with other Helm charts if there is many other resources aligned to follow a certain practice within this meta helm chart.
I've reverted my renaming of secrets instead.
I'm not sure that I follow this? @betatim @minrk @choldgraf? |
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.
Quick input
- The file
mybinder/templates/pdb-kube-lego.yaml
no longer relates to kube-lego but cert-manager. - When PDBs are changed,
--force
will be required on thehelm upgrade
. - I noted there was no PDBs as part of the cert-manager helm chart, https://github.com/jetstack/cert-manager/tree/master/deploy/charts/cert-manager/templates, so its fine for us to add one.
As per jupyterhub/zero-to-jupyterhub-k8s#1448, if anyone wants to help out/take over this PR then they should feel free! |
Closing due to a new plan of attack, see #1148 (comment) |
Hi all,
This is my attempt to update mybinder.org to using
cert-manager
instead ofkube-lego
, which is deprecated.So far, I've attempted (but not deployed):
clusterissuer.yaml
and_helpers.tpl
files,kube-lego
,Any comments appreciated!
Fixes #1148