The standard container that we use to run the gcloud
and kubectl
clients.
Much of the code is heavily inspired by
blacklabelops/gcloud.
$ docker run -it --rm \
-e "GCLOUD_ACCOUNT=$(base64 auth.json)" \
-e "[email protected]" \
-e "CLOUDSDK_CORE_PROJECT=example-project \
-e "CLOUDSDK_COMPUTE_ZONE=us-central1-b \
-e "CLOUDSDK_COMPUTE_REGION=us-central1 \
-e "KUBE_CLUSTER=my-kube-cluster" \
cagedata/gcloud \
kubectl get pods