tridentctl fails because it cannot switch with "--kubeconfig"
Applies to
- NetApp Astra Trident less than 23.04
- Switching kubernetes clusters using
--kubeconfiginkubectlcommand
Issue
tridentctlwith--kubeconfigfails with error:
Error: unknown flag: --kubeconfigtridentctlwithout--kubeconfigfails 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?
