Skip to main content
Version: 6.x (Latest)

Deploy Applications via Component Chart

DevSpace provides a built-in general purpose Helm chart that allows you to deploy applications without creating your own Helm chart. The idea of this chart is to be quite generic, so that it is suitable to deploy most applications with it by just customizing the values passed to the chart.

devspace.yaml
version: v2beta1
deployments:
api:
helm:
chart:
name: component-chart
repo: https://charts.devspace.sh
values:
containers:
- image: ghcr.io/loft-sh/devspace-example-api
service:
ports:
- port: 8080
Values Validation

Because the component chart is embedded into DevSpace itself, DevSpace will parse the values for a component-chart deployment and is able to run a config validation against the component-chart's values specification.

Values Reference

The component chart supports the following fields for its values:

initContainers required object[]

name required string

image required string

command required string[]

args required string[]

stdin required boolean false

tty required boolean false

env required object[]

envFrom required object[]

volumeMounts required object[]

containerPath required string

volume required

name required string
subPath required string
readOnly required boolean false
shared required boolean false

resources required object

livenessProbe required object

readinessProbe required object

startupProbe required object

securityContext required object

lifecycle required object

volumeDevices required object[]

imagePullPolicy required string

workingDir required string

stdinOnce required boolean false

terminationMessagePath required string

terminationMessagePolicy required string

containers required object[]

name required string

image required string

command required string[]

args required string[]

stdin required boolean false

tty required boolean false

env required object[]

envFrom required object[]

volumeMounts required object[]

containerPath required string

volume required

name required string
subPath required string
readOnly required boolean false
shared required boolean false

resources required object

livenessProbe required object

readinessProbe required object

startupProbe required object

securityContext required object

lifecycle required object

volumeDevices required object[]

imagePullPolicy required string

workingDir required string

stdinOnce required boolean false

terminationMessagePath required string

terminationMessagePolicy required string

labels required <label_name>:string

annotations required <annotation_name>:string

volumes required object[]

name required string

labels required <label_name>:string

annotations required <annotation_name>:string

size required string

configMap required object

secret required object

emptyDir required object

storageClassName required string

volumeMode required string

volumeName required string

dataSource required object

accessModes required string[]

service required

name required string

labels required <label_name>:string

annotations required <annotation_name>:string

type required string

ports required object[]

name required string

port required integer

containerPort required integer

protocol required string

externalIPs required string[]

clusterIP required string

externalName required string

externalTrafficPolicy required string

healthCheckNodePort required integer

ipFamily required string

loadBalancerIP required string

loadBalancerSourceRanges required string[]

publishNotReadyAddresses required boolean false

sessionAffinity required object

sessionAffinityConfig required object

topologyKeys required string[]

serviceName required string

ingress required

name required string

labels required <label_name>:string

annotations required <annotation_name>:string

tls required string

tlsClusterIssuer required string

ingressClass required string

rules required object[]

host required string

tls required string

path required string

servicePort required integer

serviceName required string

pathType required string

backend required object

ingressClassName required string

replicas required integer

autoScaling required

horizontal required

maxReplicas required integer

averageCPU required string

averageRelativeCPU required string

averageMemory required string

averageRelativeMemory required string

rollingUpdate required

enabled required boolean false

maxSurge required string

maxUnavailable required string

partition required integer

pullSecrets required string[]

tolerations required object[]

affinity required object

nodeSelector required object

nodeName required string

podManagementPolicy required string

dnsConfig required object

hostAliases required object[]

overhead required object

readinessGates required object[]

securityContext required object

topologySpreadConstraints required object[]

activeDeadlineSeconds required integer

automountServiceAccountToken required boolean false

dnsPolicy required string

hostIPC required boolean false

hostNetwork required boolean false

hostPID required boolean false

hostname required string

preemptionPolicy required string

priority required integer

priorityClassName required string

restartPolicy required string

runtimeClassName required string

schedulerName required string

serviceAccount required string

serviceAccountName required string

setHostnameAsFQDN required boolean false

shareProcessNamespace required boolean false

subdomain required string

terminationGracePeriodSeconds required integer

ephemeralContainers required object[]