tridentctl fails because it cannot switch with "--kubeconfig"
Applies to
- NetApp Astra Trident less than 23.04
- Switching kubernetes clusters using
--kubeconfig
inkubectl
command
Issue
tridentctl
with--kubeconfig
fails with error:
Error: unknown flag: --kubeconfig
tridentctl
without--kubeconfig
fails with error:
Error: found the Kubernetes CLI, but it exited with error: The connection to the server localhost:8080 was refused - did you specify the right host or port?