Skip to content
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

Fix bugs related to installing chart multiple times in the same namespace #3032

Merged
merged 3 commits into from Mar 15, 2023

Conversation

HoseonRyu
Copy link
Contributor

@HoseonRyu HoseonRyu commented Feb 17, 2023

Goals

I wanna create multi-hub for many users.
I'm trying to use an alias for this, and found out that it is supported with following PR.
fix: bug if z2jh is used as a dependency with an alias

However, I found some problems with it, and made this PR to fix it.

Environments

  • jupyterhub version: 2.0.0
  • app version: 3.0.0

Problem 1 - existing-secret

Like this PR, existing-secret should also be in the conditional statement.

Problem 2 - proxy service selector

After solving Problem 1, I succeeded in creating two hubs (each have different urls in ingress.hosts)
There is a bug that when spawning through one url, it randomly spawns in another hub
When I spawn singleuser via one url, other hub spawns randomly.
To prevent this, a selector was added to the proxy.

@welcome
Copy link

welcome bot commented Feb 17, 2023

Thanks for submitting your first pull request! You are awesome! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please make sure you followed the pull request template, as this will help us review your contribution more quickly.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also a intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@HoseonRyu HoseonRyu changed the title Fix bugs for enable an alias Multi-hub for many users (w/ alias) Feb 24, 2023
@consideRatio consideRatio changed the title Multi-hub for many users (w/ alias) Fix bugs related to installing chart multiple times in the same namespace Feb 28, 2023
@consideRatio consideRatio merged commit f730a10 into jupyterhub:main Mar 15, 2023
@welcome
Copy link

welcome bot commented Mar 15, 2023

Congrats on your first merged pull request in this project! 🎉
congrats
Thank you for contributing, we are very proud of you! ❤️

consideRatio pushed a commit to jupyterhub/helm-chart that referenced this pull request Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants