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

Storage volumes in projects #6171

Open
stgraber opened this issue Sep 9, 2019 · 0 comments

Comments

@stgraber
Copy link
Member

commented Sep 9, 2019

Right now storage volumes are a global resource, they show up in every single project and can be used by containers of any projects. This may be the desired behavior for some users that have containers in multiple projects and wish to share access to storage volumes but it would be much nicer to have the option to keep those volumes tied to projects.

To do that, we need to:

  • Introduce features.storage which when enabled will cause only custom volumes belonging to the project to show up
  • Use a variant of our good old friend projectPrefix and rename all existing storage volume paths internally to match. Note that unlike containers, underscores are valid in custom volume names, so we need to prefix everything, including those in the default project.
  • Update the volume attach logic to look at only the project's volumes if the feature is enabled
@stgraber stgraber added the Feature label Sep 9, 2019
@stgraber stgraber added this to the soon milestone Sep 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.