Sign inSign up

oxess/helm-google-sdk

By oxess

•Updated over 3 years ago

This image is based on the official Helm image and adds the Google Cloud SDK.

Image
Integration & delivery
API management
Developer tools
0

979

oxess/helm-google-sdk repository overview

⁠Image created for use in GitLab CI/CD

This image is based on the official Helm image and adds the Google Cloud SDK.

⁠Variables to set
VariableDescription
CLUSTER_CABase64 encoded CA certificate for the cluster.
CLUSTER_SERVERURL of the cluster.
GCP_SA_KEYBase64 encoded service account key.
GCP_PROJECTID of the GCP project.
GCP_REGIONRegion of the GCP project.
GCP_CLUSTERName of the GCP cluster.
⁠How to use

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


⁠Testing
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
⁠Versions
HelmGoogle Cloud SDK
3.7.0418.0.0

Tag summary

Content type

Image

Digest

sha256:921b71b4c…

Size

670 MB

Last updated

over 3 years ago

docker pull oxess/helm-google-sdk