github.com/GoogleContainerTools/skaffold@v1.39.18/pkg/skaffold/initializer/testdata/init/helm-deployment/README.md (about)

     1  ### Example: deploy multiple releases with Helm
     2  
     3  You can deploy multiple releases with Skaffold, each will need a chartPath, a values file, and an optional namespace.
     4  Skaffold can inject intermediate build tags in the the values map in the `skaffold.yaml`.
     5  
     6  Let's walk through the skaffold yaml:
     7  
     8  We'll be building an image called `skaffold-helm`, and it's a dockerfile, so we'll add it to the artifacts.
     9  
    10  ```yaml
    11  build:
    12    artifacts:
    13    - image: skaffold-helm
    14  ```
    15  
    16  Now, we want to deploy this image with helm.
    17  We add a new release in the helm part of the deploy stanza.
    18  
    19  ```yaml
    20  deploy:
    21    helm:
    22      releases:
    23      - name: skaffold-helm
    24        chartPath: charts
    25        # namespace: skaffold
    26        artifactOverrides:
    27          image: skaffold-helm
    28        valuesFiles:
    29        - values.yaml
    30  ```
    31  
    32  This part tells Skaffold to set the `image` parameter of the values file to the built `skaffold-helm` image and tag.
    33  
    34  ```yaml
    35        artifactOverrides:
    36          image: skaffold-helm
    37  ```