We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e12dc8e + 2713057 commit cccf11bCopy full SHA for cccf11b
src/warnet/users.py
@@ -22,6 +22,7 @@ def auth(auth_config):
22
23
is_first_config = False
24
if not os.path.exists(KUBECONFIG):
25
+ os.makedirs(os.path.dirname(KUBECONFIG), exist_ok=True)
26
try:
27
write_kubeconfig(auth_config, KUBECONFIG)
28
is_first_config = True
0 commit comments