跳到主要内容

GKE Run Helm with YAML

List of YAML parameters and examples for the "GKE Run Helm" action.

YAML parameters for GKE Run Helm

名称类型描述
action
必填
StringThe ID of the action.
type
必填
StringThe type of the action. Should be set to HELM.
execute_commands
必填
String[]The commands that will be executed.
integration_hash
必填
IntegrationThe ID of the Google integration.
zone_id
必填
StringThe ID of the GKE zone.
cluster
必填
StringThe ID of the GKE cluster.
application_id
必填
StringThe ID of the GKE application.
helm_version
必填
StringThe Helm version.
gke_auth_type
必填
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"