YAML for Kubernetes Run Helm CMDs
Execute Helm commands to manage Kubernetes applications.
YAML examples for Kubernetes Run Helm CMDs
Helm deploy to Google Kubernetes Engine
yaml
- action: "Kubernetes - execute: # helm upgrade -f myvalues.yaml -f override.yaml myApp .chart"
type: "HELM"
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
kubectl_version: "latest"
helm_version: "v3.4.2"
shell: "SH"
targets:
- target: my_gke_cluster
type: GKE
name: My GKE Cluster
integration: my_integration
cluster: cluster-1
project: app-id
zone: europe-west3-a
helm_integration: "my_gcs_integration"
helm_repository_key: "$GCP_SERVICE_ACCOUNT_KEY"
Helm with target integration
yaml
- action: "Helm with target integration"
type: "HELM"
commands: "helm install myrelease mychart"
helm_repository_integration: "my-helm-repo"
targets:
- target: my-gke-target
type: GKE
name: My GKE Cluster
cluster: "target-cluster"
application_id: "target-app-id"
zone: "us-central1-a"
integration: "target-k8s-integration"
Helm with a chart repository on Amazon S3
yaml
- action: "Helm upgrade from S3 repository"
type: "HELM"
commands: "helm upgrade --install myrelease my-s3-repo/mychart"
helm_integration: "my_aws_integration"
helm_repository_region: "eu-west-1"
targets:
- target: my_gke_cluster
type: GKE
name: My GKE Cluster
integration: my_integration
cluster: cluster-1
project: app-id
zone: europe-west3-a