Description
When specifying a custom Kubernetes config file with $KUBECONFIG, the file the should be used by stackit ske kubeconfig create instead of the default config file.
Steps to reproduce
- Run
KUBECONFIG=~/.kube/custom/config.yaml stackit ske kubeconfig create <cluster> --login
Actual behavior
The standard config file at ~/.kube/config is updated
Expected behavior
The file specified with $KUBECONFIG should be updated
Environment
- OS: MacOS
- Version of STACKIT CLI (see
stackit --version): v0.34.5