Kubernetes cluster unreachable: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"

Asking for help? Comment out what you need so we can get more information to help you!

while executing following command
helm install ingress-nginx ingress-nginx/ingress-nginx

shows the following error
Error: INSTALLATION FAILED: Kubernetes cluster unreachable: exec plugin: invalid apiVersion “client.authentication.k8s.io/v1alpha1