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 d01ae3a commit 3c2af7dCopy full SHA for 3c2af7d
src/warnet/admin.py
@@ -71,7 +71,8 @@ def create_kubeconfigs(kubeconfig_dir, token_duration):
71
# labels instead of namespace naming conventions
72
warnet_namespaces = get_namespaces_by_prefix(WARGAMES_NAMESPACE_PREFIX)
73
74
- for namespace in warnet_namespaces:
+ for v1namespace in warnet_namespaces:
75
+ namespace = v1namespace.metadata.name
76
click.echo(f"Processing namespace: {namespace}")
77
service_accounts = get_service_accounts_in_namespace(namespace)
78
0 commit comments