diff --git a/config/pod.yaml.tim b/config/pod.yaml.tim index 6b6d231..12d8414 100644 --- a/config/pod.yaml.tim +++ b/config/pod.yaml.tim @@ -48,7 +48,7 @@ spec: lifecycle: preStop: exec: - command: ["/bin/bash", "-c", "sleep 2; # This sleep is to wait for hyper to gracefully exit normally on successful build + command: ["/bin/bash", "-c", "sleep 2; rm -rf /var/sd-workspaces/{{build_id_with_prefix}}; hyperctl rm builder-{{build_id_with_prefix}}"] volumes: