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 9c0da44 commit 39b6d51Copy full SHA for 39b6d51
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