Skip to content

Helm operations

snripa edited this page Aug 4, 2020 · 2 revisions

Install helm release to cluster

Used to install chart from repository into kubernetes cluster

Request:

POST /helm/deploy

{
   "services":[
      {
         "cluster":"cluster_name",
         "repo":"repo_name",
         "owner":"owner",
         "image_tag":"docker_image_version",
         "registry":{
            "helm":"helm_registry_name",
            "docker":"docker_registry_name"
         },
         "env":{
            "key1" : "value1",
            "key2" : "value2",
         }, 
         "namespace":"nanespace_name"
      }
   ]
}
field description
cluster Cluster name as it's labeled during creation
repo Repository name
owner Repository owner
image_tag Docker image tag name
registry Docker and Helm registries to use
env Custom environment variables to be set to pods of the helm release
namespace Namespace where service has to be installed. Is created if doesn't exist

Response:

 {"id":"8e36535a-863a-11ea-8e11-a86daaca0fd6"}

Id of the logs resource.

Clone this wiki locally