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 6684692 commit a74b689Copy full SHA for a74b689
src/warnet/users.py
@@ -22,6 +22,9 @@ def auth(auth_config):
22
23
is_first_config = False
24
if not os.path.exists(KUBECONFIG):
25
+ kube_folder = os.path.join(os.path.expanduser("~"), ".kube")
26
+ if not os.path.exists(kube_folder):
27
+ os.makedirs(kube_folder)
28
try:
29
write_kubeconfig(auth_config, KUBECONFIG)
30
is_first_config = True
0 commit comments