Usage
Install Chart
helm repo add loft https://charts.loft.shhelm repo updatehelm install -n my-namespace my-component component-chart --repo https://charts.loft.sh/Upgrade Chart
helm upgrade -n my-namespace my-component component-chart --repo https://charts.loft.sh/Delete Chart
helm uninstall -n my-namespace my-componentUse with DevSpace
To use the component chart with DevSpace CLI, add a helm chart deployment to devspace.yaml which defines componentChart: true or references the component chart using the chart options.
deployments:- name: my-component helm: componentChart: true values: containers: - image: "dscr.io/username/mysql" volumeMounts: - containerPath: /var/lib/mysql volume: name: mysql-data subPath: /mysql readOnly: false volumes: - name: mysql-data size: "5Gi"info
The values for the component chart can be defined in the values section of the deployment directly inside devspace.yaml (see example above).
Deploy the chart using:
devspace deploy