GKE Run Helm with YAML

YAML parameters for GKE Run Helm

NameTypeDescription
action
Required
StringThe ID of the action.
type
Required
StringThe type of the action. Should be set to HELM.
execute_commands
Required
String[]The commands that will be executed.
integration_hash
Required
IntegrationThe ID of the Google integration.
zone_id
Required
StringThe ID of the GKE zone.
cluster
Required
StringThe ID of the GKE cluster.
application_id
Required
StringThe ID of the GKE application.
helm_version
Required
StringThe Helm version.
gke_auth_type
Required
StringAuthorization type. Set to SERVICE_ACCOUNT.
helm_repository_regionStringHelm repository region. Set it if Helm repository is on AWS S3.
helm_repository_integrationIntegrationAmazon integration ID. Set it if Helm repository is on AWS S3.
helm_repository_keyStringService Account Key from Google Cloud Storage. Set it if Helm repository is on GCS.
setup_commandsString[]Allow you to install Helm plugins.
kubectl_versionStringVersion of the kubectl used in the action. Default is “latest”.
shellStringThe name of the shell that will be used to execute commands. Can be one of SH (default) or BASH.

YAML example for GKE Run Helm

actions:
- action: "Kubernetes - execute: # helm upgrade -f myvalues.yaml -f override.yaml myApp .chart"
  type: "HELM"
  cluster: "cluster-1"
  application_id: "app-id"
  execute_commands:
  - "# kubectl apply -f ./mymanifest.yaml"
  - "# helm upgrade -f myvalues.yaml -f override.yaml myApp .chart"
  setup_commands:
  - "helm plugin install https://github.com/hypnoglow/helm-s3.git --version 0.7.0"
  - "helm plugin install https://github.com/hayorov/helm-gcs --version 0.2.1"
  zone_id: "europe-west3-a"
  gke_auth_type: "SERVICE_ACCOUNT"
  kubectl_version: "latest"
  helm_version: "v3.4.2"
  shell: "SH"
  integration_hash: "5ddb7c180fb38be67bd78a88a"

Last modified on April 26, 2022

Get Started

Sign up for free and deploy your project in less than 10 minutes.