Kubernetes Run Helm CMDs with YAML

Table of Contents

YAML parameters for Kubernetes Run Helm CMDs

NameTypeDescription
action
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to HELM.
auth_type
Required
StringAuthorization type. Can be one of BASIC, TOKEN or CERTS.
server
Required
StringThe host for the connection.
execute_commands
Required
String[]The commands that will be executed.
helm_version
Required
StringThe Helm version.
helm_repository_regionStringHelm repository region. Set it if Helm repository is on AWS S3.
helm_repository_integrationIntegrationAmazon or Google integration ID. Set it if Helm repository is on AWS S3 or Google Cloud Storage.
setup_commandsString[]Allow you to install Helm plugins.
loginStringThe username required when auth_type is set to BASIC.
passwordStringThe password required when auth_type is set to BASIC.
tokenStringThe token required when auth_type is set to TOKEN.
client_caStringThe certificate authority required when auth_type is set to CERTS.
client_certStringThe client certificate required when auth_type is set to CERTS.
client_keyStringThe client key required when auth_type is set to CERTS.
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 Kubernetes Run Helm CMDs

actions:
- action: "Run Helm CLI"
  type: "HELM"
  login: "admin"
  password: "secure!QEJMXFs6anlOLO/+feiNVg=="
  helm_repository_region: "us-east-1"
  helm_repository_integration:
    hash_id: "5e144121ae784b42540446d3"
  execute_commands:
  - "kubectl apply f ./mymanifest.yaml"
  - "helm upgrade i 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"
  auth_type: "BASIC"
  server: "$serverAddress"
  shell: "SH"
  kubectl_version: "latest"
  helm_version: "v3.0.1"

Run Helm CMDs on GKE cluster

YAML parameters for Run Helm CMDs on GKE cluster

NameTypeDescription
action
Required
StringThe name 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.
helm_version
Required
StringThe Helm version.
integration_hash
Required
StringThe 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.
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_integrationIntegrationGoogle integration ID. Set it if Helm repository is on AWS S3 or Google Cloud Storage.
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 Run Helm CMDs on GKE cluster

actions:
- action: "Run Helm CLI"
  type: "HELM"
  helm_repository_region: "us-east-1"
  helm_repository_integration:
    hash_id: "5e144121ae784b42540446d3"
  execute_commands:
  - "kubectl apply f ./mymanifest.yaml"
  - "helm upgrade i 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"
  shell: "SH"
  kubectl_version: "latest"
  helm_version: "v3.0.1"
  integration_hash: "5ddb7c180fb38be67bd78a88a"
  zone_id: "europe-west1-c"
  cluster: "cluster-1"
  application_id: "tokyo-house-138923"
  gke_auth_type: "SERVICE_ACCOUNT"

Run Helm CMDs on Amazon EKS cluster

YAML parameters for Run Helm CMDs on Amazon EKS cluster

NameTypeDescription
action
Required
StringThe name 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.
helm_version
Required
StringThe Helm version.
integration_hash
Required
StringThe ID of the Amazon integration.
cluster
Required
StringThe ID of Amazon EKS cluster.
region
Required
StringThe Amazon region. Required when Amazon EKS cluster is set.
role_arn
Required
StringContains information about an IAM role. Can be set for Amazon EKS cluster.
helm_repository_regionStringHelm repository region. Set it if Helm repository is on AWS S3.
helm_repository_integrationIntegrationAmazon or Google integration ID. Set it if Helm repository is on AWS S3 or Google Cloud Storage.
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 Run Helm CMDs on Amazon EKS cluster

actions:
- action: "Run Helm CLI"
  type: "HELM"
  helm_repository_region: "us-east-1"
  helm_repository_integration:
    hash_id: "5e144121ae784b42540446d3"
  execute_commands:
  - "kubectl apply f ./mymanifest.yaml"
  - "helm upgrade i 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"
  shell: "SH"
  kubectl_version: "latest"
  helm_version: "v3.0.1"
  integartion_hash: "5ddb7c180fb38be67bd78a88a"
  cluster: "cluster-1"
  region: "us-west-2"
  role_arn: "SERVICE_ACCOUNT"

Run Helm CMDs on Azure AKS cluster

YAML parameters for Run Helm CMDs on Azure AKS cluster

NameTypeDescription
action
Required
StringThe name 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.
helm_version
Required
StringThe Helm version.
integration_hash
Required
StringThe ID of the Azure integration.
subscription_id
Required
StringThe ID of Azure subscription.
resource_group_name
Required
StringThe Azure resource group name in which the AKS cluster is set.
resource_name
Required
StringThe name of the Kubernetes service in Azure.
helm_repository_regionStringHelm repository region. Set it if Helm repository is on AWS S3.
helm_repository_integrationIntegrationAmazon or Google integration ID. Set it if Helm repository is on AWS S3 or Google Cloud Storage.
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 Run Helm CMDs on Azure AKS cluster

actions:
- action: "Run Helm CLI"
  type: "HELM"
  helm_repository_region: "us-east-1"
  helm_repository_integration:
    hash_id: "5e144121ae784b42540446d3"
  execute_commands:
  - "kubectl apply f ./mymanifest.yaml"
  - "helm upgrade i 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"
  shell: "SH"
  kubectl_version: "latest"
  helm_version: "v3.0.1"
  integration_hash: "5ddb7c180fb38be67bd78a88a"
  subscription_id: "d4fd0732-1b7f-47ff-8ca9-8b003428dcd8"
  resource_group_name: "test-buddy_group"
  resource_name: "buddy-tests"

Run Helm CMDs on Digital Ocean cluster

YAML parameters for Run Helm CMDs on Digital Ocean cluster

NameTypeDescription
action
Required
StringThe name 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.
helm_version
Required
StringThe Helm version.
integration_hash
Required
StringThe ID of Digital Ocean integration.
digital_ocean_cluster
Required
StringThe ID of the DO cluster.
helm_repository_regionStringHelm repository region. Set it if Helm repository is on AWS S3.
helm_repository_integrationIntegrationAmazon or Google integration ID. Set it if Helm repository is on AWS S3 or Google Cloud Storage.
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 Run Helm CMDs on Digital Ocean cluster

actions:
- action: "Run Helm CLI"
  type: "HELM"
  helm_repository_region: "us-east-1"
  helm_repository_integration:
    hash_id: "5e144121ae784b42540446d3"
  execute_commands:
  - "kubectl apply f ./mymanifest.yaml"
  - "helm upgrade i 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"
  shell: "SH"
  kubectl_version: "latest"
  helm_version: "v3.0.1"
  integration_hash: "5ddb7c180fb38be67bd78a88a"
  digital_ocean_cluster: "0ec55079-0398-4cfc-9b51-97e07cb07ae7"

Last modified on December 22, 2022

Get Started

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