Deploy Helm Charts
To deploy Helm charts, you need to configure them within the deployments section of the devspace.yaml.
Examples
- Component Chart
- Custom Chart
- Local Chart
- Git Chart Repo
deployments:
backend:
helm:
chart:
name: component-chart
repo: https://charts.devspace.sh
values:
containers:
- image: reg.tld/username/devspace
service:
ports:
- port: 3000
The component chart is a flexible Helm chart for deploying custom applications in a standardized manner. Learn more about configuring component-chart deployments.
deployments:
backend:
helm:
chart:
name: chart-name
repo: https://my-charts.company.tld/
values:
# If registry.url/repo/image was found under images as well, will be
# rewritten to registry.url/repo/image:generated_tag
imageWithTag: registry.url/repo/image
# If registry.url/repo/image was found under images.app as well, will be
# rewritten to registry.url/repo/image
imageWithoutTag: ${runtime.images.app.image}
# If registry.url/repo/image was found under images.app as well, will be
# rewritten to generated_tag
onlyTag: ${runtime.images.app.tag}
deployments:
backend:
helm:
chart:
name: ./path/to/chart
values:
# If registry.url/repo/image was found under images as well, will be
# rewritten to registry.url/repo/image:generated_tag
imageWithTag: registry.url/repo/image
# If registry.url/repo/image was found under images.app as well, will be
# rewritten to registry.url/repo/image
imageWithoutTag: ${runtime.images.app.image}
# If registry.url/repo/image was found under images.app as well, will be
# rewritten to generated_tag
onlyTag: ${runtime.images.app.tag}
deployments:
backend:
helm:
chart:
git: https://github.com/<org>/<repo>.git
# optional git configs
branch: branchName
tag: tag
revision: revision
subPath: subpath/chartdir
Config Reference
helm required
Helm tells DevSpace to deploy this deployment via helm
helm required releaseName required string
ReleaseName of the helm configuration
releaseName required string chart required
Chart holds the chart configuration and where DevSpace can find the chart
chart required values required object
Values are additional values that should get passed to deploying this chart
values required object valuesFiles required string[]
ValuesFiles are additional files that hold values for deploying this chart
valuesFiles required string[] displayOutput required boolean false
DisplayOutput allows you to display the helm output to the console
displayOutput required boolean false upgradeArgs required string[]
UpgradeArgs are additional arguments to pass to helm upgrade
upgradeArgs required string[] helm upgradetemplateArgs required string[]
TemplateArgs are additional arguments to pass to helm template
templateArgs required string[] helm templatedisableDependencyUpdate required boolean false
DisableDependencyUpdate disables helm dependencies update, default to false
disableDependencyUpdate required boolean false 