-1

I am trying to install Kubernetes based Containerized Private Minion(CPM) using helm and I am getting below error. Also I have updated the helm repo as well. Need help.

error

Salman
  • 1,573
  • 3
  • 13
  • 24

1 Answers1

3

The invalid apiVersion is a separate issue. Open your .kube/config and update "client.authentication.k8s.io/v1alpha1" to "client.authentication.k8s.io/v1beta1" will do.

Origin question is here.

gohm'c
  • 13,492
  • 1
  • 9
  • 16
  • Can you share the commands pls – Salman Aug 08 '22 at 09:39
  • 1
    First of all your aws cli **must** be version 2.7.7 and above, recommended helm version v3.9 and above. Start with `kubectl config view --minify`, take note of the user name. If you are on Windows, open the `C:\Users\\.kube\config` or Linux `~/.kube/config` with your favorite editor, look for the user and update the `apiVersion` to `client.authentication.k8s.io/v1beta1` under the `exec` section. – gohm'c Aug 08 '22 at 10:00
  • Yes, thanks a lot, the CLI version mismatch was the issue. – Salman Aug 18 '22 at 08:12