I am trying to install ICP version 3 where the setup is automated via ansible to setup a kubernetes cluster. However the setup keeps failing with :
kubectl api-versions
error: Couldn't get available api versions from server: Unauthorized
Any pointers how can this be debugged?
Unauthorized usually means you haven’t logged into the cluster with cloudctl or using the ‘Configure Client’ option in the UI to set the kubectl context