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

The DataVolume "test-vm-storage" is invalid: spec.source.pvc.namespace: Required value #3502

Open
cantorek opened this issue Nov 4, 2024 · 1 comment

Comments

@cantorek
Copy link

cantorek commented Nov 4, 2024

Is your feature request related to a problem? Please describe:
Cannot clone/create a DataVolume from existing pvc in the current namespace.

Describe the solution you'd like:
namespace field would be optional. When empty, current namespace would be used.
Exactly the same as typical k8s manifests.

Describe alternatives you've considered:
Detecting current namespace and injecting it - not exactly feasible.

Additional context:
I don't know (and don't care) in which namespace my resources are deployed. I create one "template" DataVolume (OS image) that is used for VMs to be created (cloned) from.

@aglitke
Copy link
Member

aglitke commented Nov 18, 2024

We discussed this on the SIG-Storage meeting and it seems reasonable to make namespace optional (and default to the same ns as the source PVC).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants