Allow specifying a namespace within a CSI volume registration file #11196
Labels
stage/accepted
Confirmed, and intend to work on. No timeline committment though.
theme/storage
type/enhancement
Projects
Milestone
Proposal
Currently, the only way to specify a CSI Volume's namespace is by adding the
-namespace=
flag in thenomad volume create
command.Allowing to specify the namespace within the volume spec file would make the creation of a new CSI volume consistent with submitting a Nomad job as well as prevent accidentally registering a volume in a namespace that differs from the namespace of the job the volume is intended to be used with.
Example:
Use-cases
Allowing the volume specification to be more declarative and consistent with the jobspecs they are accompanying.
Attempted Solutions
N/A
The text was updated successfully, but these errors were encountered: