Skip to content

matteo1010/k8s-gcloud-deploy-container

Repository files navigation

k8s-gcloud-deploy-container

Container for deploy to GCP GKE cluster

Usage

mount the directory with your svc_account.json file to /tmp/certs

for example, if your svc_account.json is in the directory you're running this container from:

docker build -t k8s-gcloud-deploy .
docker run -d --rm -v $(pwd):/tmp/certs \
    -v <path-to-deployments>:/deployments
    -e CLUSTER_NAME=cluster_name
    -e REGION=region
    -e PROJECT_NAME=project_name
    matteo1010/k8s-gcloud-deploy-container:latest

Inspiration

https://github.com/messari/docker-google-cloud-sdk-auth-wrapper

About

Container for deploy to GCP GKE cluster

Resources

License

Stars

Watchers

Forks

Packages

No packages published