Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Doesn't respect ~/.kube/config to be a symbolic link #1355

Open
dennybaa opened this issue Oct 8, 2023 · 0 comments
Open

[BUG] Doesn't respect ~/.kube/config to be a symbolic link #1355

dennybaa opened this issue Oct 8, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dennybaa
Copy link

dennybaa commented Oct 8, 2023

A new ~/.kube/config is recreated upon cluster creation.

What did you do

Just created a cluster.

What did you expect to happen

Contents should be added into existing ~/.kube/config whether it's an ordinary file or symlink.

Screenshots or terminal output

# before
❯ ls -l
drwxr-x--- 4 dennybaa dennybaa 4096 Sep  7 15:59 cache
lrwxrwxrwx 1 dennybaa dennybaa   18 Oct  8 20:36 config -> default.kubeconfig

# after
 ❯ ls -l  
drwxr-x--- 4 dennybaa dennybaa 4096 Sep  7 15:59 cache
-rw------- 1 dennybaa dennybaa 5883 Oct  8 20:38 config
-rw------- 1 dennybaa dennybaa 2990 Oct  8 20:35 default.kubeconfig

Which OS & Architecture

arch: amd64
cgroupdriver: systemd
cgroupversion: "2"
endpoint: /run/user/1000/podman/podman.sock
filesystem: extfs
name: docker
os: pop
ostype: linux
version: 4.6.2

Which version of k3d

k3d version v5.6.0
k3s version v1.27.4-k3s1 (default)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant