-
Notifications
You must be signed in to change notification settings - Fork 304
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
Get JUPYTERHUB_API_TOKEN from secret #693
base: main
Are you sure you want to change the base?
Conversation
Thanks for submitting your first pull request! You are awesome! 🤗 |
for more information, see https://pre-commit.ci
Co-authored-by: Maxim Martynov <[email protected]>
name="JUPYTERHUB_API_TOKEN", | ||
value_from=V1EnvVarSource( | ||
secret_key_ref=V1SecretKeySelector( | ||
name=user_secret_name, key="JUPYTERHUB_API_TOKEN" |
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.
Why secret ref name is configurable, but secret name itself is not?
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.
The ref has to be unique per user, so we need to pass it the user name.
Trying to reslove #398
This might be redundant from #471