We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75cb339 commit 1810124Copy full SHA for 1810124
src/warnet/k8s.py
@@ -210,7 +210,9 @@ def get_default_namespace() -> str:
210
if not context_entry:
211
raise ValueError(f"Context '{current_context_name}' not found in kubeconfig.")
212
213
- namespace = context_entry["context"]["namespace"]
+ # TODO: need to setting on Warnet's "default" namespace
214
+ namespace = context_entry["context"].get("namespace", "warnet")
215
+
216
return namespace
217
218
0 commit comments