kind test stack #629

Merged
telackey merged 5 commits from dboreham/kind-test-stack into main 2023-11-08 08:11:00 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit c3853e4120 - Show all commits

View File

@ -50,8 +50,8 @@ class ClusterInfo:
print(f"Volumes: {volumes}")
for volume_name in volumes:
spec = client.V1PersistentVolumeClaimSpec(
storage_class_name="standard",
access_modes=["ReadWriteOnce"],
storage_class_name="manual",
resources=client.V1ResourceRequirements(
requests={"storage": "2Gi"}
),

View File

@ -162,7 +162,7 @@ def _generate_kind_mounts(parsed_pod_files, deployment_dir):
(volume_name, mount_path) = mount_string.split(":")
volume_definitions.append(
f" - hostPath: {_make_absolute_host_path(volume_host_path_map[volume_name], deployment_dir)}\n"
" containerPath: /var/local-path-provisioner"
f" containerPath: {get_node_pv_mount_path(volume_name)}"
)
return (
"" if len(volume_definitions) == 0 else (