Storage Volumes by Reference
Storage Volumes can be used by their reference from workflow volumes. A Storage Volume reference includes (at a minimum) a scope and the Storage Class to which it belongs. An optional custom name can be specified depending on the Storage Class naming configuration. So a Storage Volume reference takes this form:
volume://<scope>/<storage_volume_name>/<optional_custom_name>
Where scope
can be either user
or account
depending of the defined Storage Class scope
. If the Storage Class scope is set to account
, the
reference will forcibly start with the prefix volume://account
. Conversely if the Storage Class
scope is set to user
, the reference will forcibly start with the prefix volume://user
.
So if you want to use a Storage Volume on
ephemeral
Storage Class which has
defined the scope to user
, you would need to use this reference volume://user/ephemeral
.
ephemeral
is automatically setting the volume name to workflow ID so the custom name is optional
and will be ignored when set.