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

Support for PV labelling once used by a Tenant PVC #682

Closed
prometherion opened this issue Jan 13, 2023 · 0 comments · Fixed by #684
Closed

Support for PV labelling once used by a Tenant PVC #682

prometherion opened this issue Jan 13, 2023 · 0 comments · Fixed by #684
Assignees
Labels
enhancement New feature or request helm
Milestone

Comments

@prometherion
Copy link
Member

Describe the feature

Labelling PVs with the Capsule Tenant label to allow retrieval using the capsule-proxy.

What would the new user story look like?

As a Tenant owner, I'd like to get my PV labelled as capsule.clastix.io/tenant=MY_TENANT in order to list them using the Capsule Proxy and attach it back.

Expected behaviour

  • Once a PV is created, a controller checks if it's used by a Tenant PVC, and if it's the case, it labels it with capsule.clastix.io/tenant=MY_TENANT
  • A webhook should disallow attaching a PV to another PVC used by another Tenant to avoid data leak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request helm
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant