helm-deployment

command
v1.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

README

Example: deploy multiple releases with Helm

You can deploy multiple releases with skaffold, each will need a chartPath, a values file, and namespace. Skaffold can inject intermediate build tags in the the values map in the skaffold.yaml.

Let's walk through the skaffold yaml:

We'll be building an image called skaffold-helm, and it's a dockerfile, so we'll add it to the artifacts.

build:
  artifacts:
  - image: skaffold-helm

Now, we want to deploy this image with helm. We add a new release in the helm part of the deploy stanza.

deploy:
  helm:
    releases:
    - name: skaffold-helm
      chartPath: charts
      # namespace: skaffold
      artifactOverrides:
        image: skaffold-helm
      valuesFiles:
      - values.yaml

This part tells Skaffold to set the image parameter of the values file to the built skaffold-helm image and tag.

      artifactOverrides:
        image: skaffold-helm

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL