We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f13828 commit b3e6a5dCopy full SHA for b3e6a5d
src/warnet/cli/namespaces.py
@@ -74,6 +74,9 @@ def list():
74
if warnet_namespaces:
75
print("Warnet namespaces:")
76
for ns in warnet_namespaces:
77
+ # TODO: this is a hack, we should rename warnet-logging to something else
78
+ if ns == "warnet-logging":
79
+ continue
80
print(f"- {ns}")
81
else:
82
print("No warnet namespaces found.")
@@ -96,6 +99,9 @@ def destroy(destroy_all: bool, namespace: str):
96
99
return
97
100
98
101
102
+ # TODO: this is a hack, we should rename warnet-logging
103
104
105
destroy_cmd = f"kubectl delete namespace {ns}"
106
if not stream_command(destroy_cmd):
107
print(f"Failed to destroy namespace: {ns}")
0 commit comments