Open frankgerhardt opened 3 years ago
@frankgerhardt not sure if this still matters for you, but if anyone else ends up here you can resolve this by making a bash script that just passes all args through to minikube
.
kubectl
#!/bin/bash
minikube kubectl -- "$@"
2. `chmod +x ./kubectl`
3. `sudo mv ./kubectl /usr/local/bin/kubectl`
Now any programs that need kubectl will actually work (including running as root).
I don't have
kubectl
installed but usealias kubectl='minikube kubectl --'
instead as described in https://minikube.sigs.k8s.io/docs/handbook/kubectl/.Then I get this error: