File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ def down():
123
123
tanks = get_mission ("tank" )
124
124
with console .status ("[yellow]Uninstalling tanks...[/yellow]" ):
125
125
for tank in tanks :
126
- cmd = f"helm uninstall { tank .metadata .name } "
126
+ cmd = f"helm uninstall { tank .metadata .name } --namespace { get_default_namespace () } "
127
127
if stream_command (cmd ):
128
128
console .print (f"[green]Uninstalled tank: { tank .metadata .name } [/green]" )
129
129
else :
@@ -133,7 +133,7 @@ def down():
133
133
pods = get_pods ()
134
134
with console .status ("[yellow]Cleaning up remaining pods...[/yellow]" ):
135
135
for pod in pods .items :
136
- cmd = f"kubectl delete pod --ignore-not-found=true { pod .metadata .name } "
136
+ cmd = f"kubectl delete pod --ignore-not-found=true { pod .metadata .name } -n { get_default_namespace () } "
137
137
if stream_command (cmd ):
138
138
console .print (f"[green]Deleted pod: { pod .metadata .name } [/green]" )
139
139
else :
You can’t perform that action at this time.
0 commit comments