From 0e54444ab7c24a0700b63b64877b346af01a1fc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sat, 13 Sep 2025 14:43:40 +0200 Subject: [PATCH] Revert "Delete all resources with the build label" 'all' is just a shortcut for some resource types. This reverts commit a4ece9dad7bc643661ca0a466ab73da2181b77a7. --- src/runboat/k8s.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/runboat/k8s.py b/src/runboat/k8s.py index 6749ab3..4c58b0c 100644 --- a/src/runboat/k8s.py +++ b/src/runboat/k8s.py @@ -244,12 +244,13 @@ async def deploy(kubefiles_path: Path | None, deployment_vars: DeploymentVars) - async def delete_resources(build_name: str) -> None: + # TODO delete all resources with runboat/build label await _kubectl( [ "-n", settings.build_namespace, "delete", - "all", + "configmap,deployment,ingress,job,secret,service,pvc", "-l", f"runboat/build={build_name}", "--wait=false",