Deployments feature #433

Merged
telackey merged 16 commits from dboreham/deployments into main 2023-06-27 22:58:41 +00:00
Showing only changes of commit 0bddd31b4c - Show all commits

View File

@ -70,8 +70,7 @@ def _fixup_pod_file(pod, spec):
for volume in pod_volumes.keys():
if volume in spec_volumes:
volume_spec = spec_volumes[volume]
print(f"mapping: {volume} -> {volume_spec}")
new_volume_spec = {"driver": "local",
new_volume_spec = {"name": volume,
"driver_opts": {
"type": "none",
"device": volume_spec,