This image is based on the official Helm image and adds the Google Cloud SDK.
979
This image is based on the official Helm image and adds the Google Cloud SDK.
| Variable | Description |
|---|---|
| CLUSTER_CA | Base64 encoded CA certificate for the cluster. |
| CLUSTER_SERVER | URL of the cluster. |
| GCP_SA_KEY | Base64 encoded service account key. |
| GCP_PROJECT | ID of the GCP project. |
| GCP_REGION | Region of the GCP project. |
| GCP_CLUSTER | Name of the GCP cluster. |
Container build:
...
Deploy:
stage: deploy
image:
name: oxess/helm-google-sdk:latest
variables:
CLUSTER_CA: $CLUSTER_CA
CLUSTER_SERVER: $CLUSTER_ENDPOINT_ENDPOINT_URL
GCP_SA_KEY: $GCP_SA_KEY
GCP_PROJECT: $GCP_PROJECT
GCP_REGION: $GCP_REGION
GCP_CLUSTER: $GCP_CLUSTER
script:
- helm dep up
- helm upgrade --install <name> .
needs:
- Container build
docker run -it --rm \
-e CLUSTER_CA="<CLUSTER_CA>" \
-e CLUSTER_SERVER="https://<CLUSTER_IP>" \
-e GCP_SA_KEY="<GCP_SA_KEY__BASE64>" \
-e GCP_PROJECT="<PROJECT_ID>" \
-e GCP_REGION="<GCP_PROJECT_REGION>" \
-e GCP_CLUSTER="<GCP_CLUSTER_NAME>" \
oxess/helm-google-sdk:latest /bin/sh
| Helm | Google Cloud SDK |
|---|---|
| 3.7.0 | 418.0.0 |
Content type
Image
Digest
sha256:921b71b4c…
Size
670 MB
Last updated
over 3 years ago
docker pull oxess/helm-google-sdk