I have the latest 1.6.4 Kubernetes installed on my GCP cluster but cannot figure out how to give Jenkins authorization.
i just tried adding two new commands in jenkins file
sh(“gcloud config set compute/zone us-central1-b”)
sh(“gcloud container clusters get-credentials te-cluster”)
1st was successful second one failed
ERROR: (gcloud.container.clusters.get-credentials) ResponseError: code=403, message=Request had insufficient authentication scopes.