Replies: 1 comment 10 replies
-
Can you provide the exact command you're running that triggers this? |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
when calling
kubectl
as non root user with an OverrideFlag, as defined in func MustFindString,dataDir
gets changed to the current working directory.This is called from the
cmd/k3s/main.go
main function which calls func findDataDirSo every time
--version
or--help
is passed as an option, a directory with the name of the flag gets created in e.g.:./--version
.Is this an intended behaviour?
It seems weird to me and causes these folders littering my current directory.
Beta Was this translation helpful? Give feedback.
All reactions