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

use user credentials for pulling images #327

Merged
merged 5 commits into from
Jun 10, 2020
Merged

Conversation

rokroskar
Copy link
Member

@rokroskar rokroskar commented Jun 8, 2020

This PR does away with the need for admin access to the gitlab instance that backs the renku deployment by using the oauth2 token of the user launching the environment to authenticate with the image registry.

closes #105

this is running currently on rok2.dev.renku.ch.

@rokroskar rokroskar requested review from a team as code owners June 8, 2020 15:28
Copy link
Contributor

@ableuler ableuler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great and seems to work fine! 🎉 Really happy to see the need for gitlab root access go away.

Could you redeploy this PR with anonymous sessions enabled just to make sure this works too?

renku_notebooks/api/notebooks.py Outdated Show resolved Hide resolved
renku_notebooks/api/notebooks.py Outdated Show resolved Hide resolved
renku_notebooks/util/kubernetes_.py Outdated Show resolved Hide resolved
@rokroskar rokroskar force-pushed the 105-user-credentials branch from 2ffd403 to 2aaed8e Compare June 9, 2020 12:59
@rokroskar rokroskar force-pushed the 105-user-credentials branch from 2aaed8e to 6e6e9f8 Compare June 9, 2020 13:56
@rokroskar
Copy link
Member Author

Could you redeploy this PR with anonymous sessions enabled just to make sure this works too?

Did this on rok2.dev.renku.ch - seems to work

@rokroskar rokroskar requested a review from ableuler June 10, 2020 13:00
@ableuler
Copy link
Contributor

Cool - let's merge this! Do you create an issue for the cleanup part?

@rokroskar
Copy link
Member Author

follow-up: #333

@rokroskar rokroskar merged commit a172b39 into master Jun 10, 2020
@rokroskar rokroskar deleted the 105-user-credentials branch June 10, 2020 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use user credentials for pulling private images
2 participants