Suppose you have this custom helm chart that you want to be deployed in skaffold:
├── k8s
│ └── charts
│ ├── api
│ │ ├── Chart.yaml
│ │ ├── templates
│ │ │ ├── _helpers.tpl
│ │ │ ├── deployment.yaml
│ │ │ ├── ingress.yaml
│ │ │ └── service.yaml
│ │ └── values.yaml
You can do so by declaring it in skaffold.yaml under releases. If the templates are using values, you can declare the values file in valuesFiles.
deploy:
helm:
releases:
- name: api
chartPath: k8s/charts/api
valuesFiles:
- skaffold-global-values.yaml