CircleCI-Public / gcp-gke-orb

Interact with Google Kubernetes Engine (GKE) from CircleCI
https://circleci.com/orbs/registry/orb/circleci/gcp-gke
MIT License
7 stars 21 forks source link

Accept region and zone for cluster credentials #41

Closed andrewmclagan closed 3 years ago

andrewmclagan commented 3 years ago

Currently the command update-kubeconfig-with-credentials throws errors:

ERROR: (gcloud.container.clusters.get-credentials) One of [--zone, --region] must be supplied: Please specify location.

As it requires a zone or region parameter which is never passed. This can be hacked to work via the following:

      - gcp-gke/update-kubeconfig-with-credentials:
          perform-login: true
          install-kubectl: true
          cluster: "my-cluster --region $GOOGLE_COMPUTE_REGION"
andrewmclagan commented 3 years ago

bumping this PR - otherwise i will close it.

andrewmclagan commented 3 years ago

closing as maintainers don't seem to maintain their repositories.