Fix container path
This commit is contained in:
parent
fc324b5623
commit
16b5321ac2
@ -145,7 +145,7 @@ def _generate_kind_mounts(parsed_pod_files):
|
|||||||
# Looks like: test-data:/data
|
# Looks like: test-data:/data
|
||||||
(volume_name, mount_path) = mount_string.split(":")
|
(volume_name, mount_path) = mount_string.split(":")
|
||||||
volume_definitions.append(
|
volume_definitions.append(
|
||||||
f" - hostPath: {volume_host_path_map[volume_name]}\n containerPath: {mount_path}"
|
f" - hostPath: {volume_host_path_map[volume_name]}\n containerPath: /var/local-path-provisioner"
|
||||||
)
|
)
|
||||||
return (
|
return (
|
||||||
"" if len(volume_definitions) == 0 else (
|
"" if len(volume_definitions) == 0 else (
|
||||||
|
Loading…
Reference in New Issue
Block a user