-
Notifications
You must be signed in to change notification settings - Fork 391
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
Reduce complexity by merging configmap/secret into secret #1179
Reduce complexity by merging configmap/secret into secret #1179
Conversation
dc33d83
to
6ca4dc0
Compare
@@ -30,9 +30,7 @@ spec: | |||
{{- end }} | |||
{{- end }} | |||
annotations: | |||
# This lets us autorestart when the configmap changes! |
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.
Can we keep this comment?
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.
Looks like this comment is still missing.
Are there any steps people need to take to transition from the CM+Secret setup to the Secret only setup? I think it is all automated. |
Thank you for the review @betatim! ❤️ 🎉
It is all automated since Helm is always creating/updating these resources. It could make sense to have a k8s upgrade step like we have in z2jh to verify upgrades between changes work btw. I created #1195 to represent that wish. |
3f5896c
to
c99b31c
Compare
c99b31c
to
fc61cfb
Compare
fc61cfb
to
dc3df7f
Compare
@minrk does this LGTY? |
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 this is good to merge once the conflicts have been resolved?
Ping @consideRatio! @sgibson91 has approved this subject to conflicts. |
dc3df7f
to
9968e23
Compare
Rebased, I think this is ready for review again! |
Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>
jupyterhub/binderhub#1179 Merge pull request #1179 from consideRatio/pr/merge-config-sources
This PR is meant to close #1176.
The value of doing this is simply to reduce the complexity of things. As one can see from the deleted code in the Helm templates, it is quite messy code that is hard to parse and generally hard to maintain. I really hope to make this Helm chart easier to maintain by reducing complexity wherever we can.
Review notes
This is ready for merge in my mind, but it would be good to eyeball it on mybinder.org's staging environment as well.