You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have dotfiles that are shared across machines. On some machines, I'd like to expose a different path for the KUBECTX file (currently defined as KUBECTX="${XDG_CACHE_HOME:-$HOME/.kube}/kubectx"). I can do this for KUBECONFIG but there isn't anything similar for kubectx.
This problem also exists for KUBENS_DIR
Would you be open to a PR to make that customizable by respecting the KUBECTX env var (if set) and KUBENS_DIR?
The text was updated successfully, but these errors were encountered:
mnlwldr
added a commit
to mnlwldr/kubectx
that referenced
this issue
Mar 19, 2024
It's my first PR to an Go project here, so be kind to me :)
It's possible to set KUBECTX_DIR and KUBENS_DIR as an environemnt
variable.
Example:
> KUBECTX_DIR="/foo/bar"
will result in /foo/bar/.kube/kubectx
When KUBECTX_DIR is not set, kubectx and kubens fall back
to the default behavior.
issue: ahmetb#402
mnlwldr
added a commit
to mnlwldr/kubectx
that referenced
this issue
Mar 19, 2024
It's my first PR to an Go project here, so be kind to me :)
It's possible to set KUBECTX_DIR and KUBENS_DIR as an environemnt
variable.
Example:
> KUBECTX_DIR="/foo/bar"
will result in /foo/bar/.kube/kubectx
When KUBECTX_DIR is not set, kubectx and kubens fall back
to the default behavior.
issue: ahmetb#402
I have dotfiles that are shared across machines. On some machines, I'd like to expose a different path for the KUBECTX file (currently defined as
KUBECTX="${XDG_CACHE_HOME:-$HOME/.kube}/kubectx"
). I can do this for KUBECONFIG but there isn't anything similar for kubectx.This problem also exists for
KUBENS_DIR
Would you be open to a PR to make that customizable by respecting the
KUBECTX
env var (if set) andKUBENS_DIR
?The text was updated successfully, but these errors were encountered: