GKE Run Helm with YAML

YAML parameters for GKE Run Helm

NameTypeDescription
action RequiredStringThe ID of the action.
type RequiredStringThe type of the action. Should be set to HELM.
execute_commands RequiredString[]The commands that will be executed.
integration_hash RequiredIntegrationThe ID of the Google integration.
zone_id RequiredStringThe ID of the GKE zone.
cluster RequiredStringThe ID of the GKE cluster.
application_id RequiredStringThe ID of the GKE application.
helm_version RequiredStringThe Helm version.
gke_auth_type RequiredStringAuthorization 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

yaml
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 Sep 24, 2024