github.com/GoogleContainerTools/skaffold/v2@v2.13.2/integration/testdata/helm-statefulset-v1-schema/README.md (about)

     1  ### Example: deploy multiple releases with Helm
     2  
     3  [![Open in Cloud Shell](https://gstatic.com/cloudssh/images/open-btn.svg)](https://ssh.cloud.google.com/cloudshell/editor?cloudshell_git_repo=https://github.com/GoogleContainerTools/skaffold&cloudshell_open_in_editor=README.md&cloudshell_workspace=examples/helm-deployment)
     4  
     5  You can deploy multiple releases with skaffold, each will need a chartPath, a values file, and namespace.
     6  Skaffold can inject intermediate build tags in the the values map in the skaffold.yaml.
     7  
     8  Let's walk through the skaffold yaml:
     9  
    10  We'll be building an image called `skaffold-helm`, and it's a dockerfile, so we'll add it to the artifacts.
    11  
    12  ```yaml
    13  build:
    14    artifacts:
    15    - image: skaffold-helm
    16  ```
    17  
    18  Now, we want to deploy this image with helm.
    19  We add a new release in the helm part of the deploy stanza.
    20  
    21  ```yaml
    22  deploy:
    23    helm:
    24      releases:
    25      - name: skaffold-helm
    26        chartPath: charts
    27        # namespace: skaffold
    28        artifactOverrides:
    29          image: skaffold-helm
    30        valuesFiles:
    31        - values.yaml
    32  ```
    33  
    34  This part tells Skaffold to set the `image` parameter of the values file to the built `skaffold-helm` image and tag.
    35  
    36  ```yaml
    37        artifactOverrides:
    38          image: skaffold-helm
    39  ```