For k8s, use provisioner-managed volumes when an absolute host path is not specified. #741
@ -427,7 +427,9 @@ def _check_volumes(spec):
|
||||
if volume_path:
|
||||
if not os.path.isabs(volume_path):
|
||||
raise Exception(
|
||||
f"Relative path {volume_path} for volume {volume_name} not supported for deployment type {spec.get_deployment_type()}")
|
||||
f"Relative path {volume_path} for volume {volume_name} not "
|
||||
f"supported for deployment type {spec.get_deployment_type()}"
|
||||
)
|
||||
|
||||
|
||||
@click.command()
|
||||
|
Loading…
Reference in New Issue
Block a user