skip to content
Alvin Lucillo

Skaffold deploying helm chart

/ 1 min read

In Skaffold, you can deploy raw manifests or use helm charts. Below shows a custom chart and how it’s included in skaffold.yaml:

skaffold.yaml

apiVersion: skaffold/v4beta12
kind: Config
metadata:
  name: skaffoldapp
build:
  artifacts:
  # ...
deploy:
  helm:
    releases:
      - name: api
        chartPath: k8s/charts/api
        valuesFiles:
          - skaffold-global-values.yaml

Directory structure of the api charts

├── k8s
   └── charts
       ├── api
   ├── Chart.yaml
   ├── templates
   ├── _helpers.tpl
   ├── deployment.yaml
   ├── ingress.yaml
   └── service.yaml
   └── values.yaml