Deploy Charts
Introduction​
This document helps you deploy, update, upgrade, disable, and delete Helm charts.
Configure and Deploy Charts​
Only a Super-Admin or an Admin can configure and deploy charts.
To configure and deploy Helm, follow the instructions below:
-
Navigate to Chart Store.
-
Enter your preferred chart name in the search bar at the top-left corner of the screen.
-
Select your preferred chart. The chart page is displayed.

Section Description About A short description of the chart README.md Contains the instructions, configurations, and everything related to the configuration and deployment of the chart Deployments Displays the list of projects under which the chart is deployed -
Click Configure & Deploy. Configuring a Helm chart gives you the flexibility to customize it to your needs instead of relying on the default values of the chart.
To predefine configurations and make future deployments across environments easier, refer to Preset Values.

-
Enter your application name in the App Name field.
-
Select your project in the Project drop-down box.
-
Select the environment where you want to deploy the chart in the Deploy to Environment drop-down box. When you select an environment, the How do you want to deploy? section is displayed.

Method Description Helm Select this option if you do not want version tracking for deployments and would like to directly deploy charts into the cluster GitOps (Via Argo CD) Select this option if you want Git to track every deployment via Argo CD. As a prerequisite: - The GitOps (Argo CD) module should be installed in your Devtron instance for this option to be displayed
- GitOps should be configured in the Global Configurations page. Refer to GitOps for more information
GitOps (Via Flux CD) Select this option if you want Git to track every deployment via Flux CD. As a prerequisite: - The Flux CD controller should be installed in your preferred cluster to deploy using GitOps (Via Flux CD). Refer Enable GitOps Deployments with FluxCD for more information.
- GitOps should be configured in the Global Configurations page. Refer to GitOps for more information.
The deployment method cannot be changed once the chart is deployed.
-
Select the chart version you prefer to deploy in the Chart Version drop-down box.
-
Select the chart values you prefer to use in the Chart Values drop-down box. Kindly refer to Preset Values.
-
Click Deploy Chart.
Once you have deployed a chart, you will be redirected automatically to the App Details tab where the deployment status is shown.

The Application Status should be Healthy, indicating that the application has been successfully deployed.
Refetch Charts​
When you click on Refetch Charts, the system fetches the latest Helm charts (e.g., stable/mySQL, bitnami/mySQL) and their latest available versions (e.g., v1.0, v1.1) that include improvements, features, and fixes. You can then either update a chart version or upgrade the chart itself in your environment.
To check the latest charts and chart versions, follow the instructions below:
-
Navigate to the Configure tab of your helm application.

-
Click Refetch Charts. All the latest charts are displayed in the Helm Chart drop-down box and all the latest versions of a chart will be displayed in the Chart Version drop-down box.
Update Charts​
Only a Super-Admin or an Admin can update charts.
When you update a Helm chart, the system actually deploys the selected latest version of a chart (e.g., 12.4.2) in your environment, just like how you'd install the latest version of an app from the app store.
Follow the below instructions to update a Helm chart:
-
Navigate back to the Configure tab of your Helm application.
-
Select your preferred chart version from the Chart Version drop-down box.
You can also compare the existing configured values of the previous chart version with the default values of the newer chart version by clicking the Compare Values button in the top-right corner of the page.

-
Click Update And Deploy.
Upgrade Charts​
Only a Super-Admin or an Admin can upgrade charts.
If the chart you're already using is deprecated or for other business reasons you wish to move from one chart to another (e.g., stable/mySQL to bitnami/mySQL), consider upgrading your charts.
Follow the below instructions to upgrade a Helm chart:
-
Navigate back to the Configure tab of your Helm application.
-
Select your preferred chart from the Helm Chart drop-down box.

When you upgrade your helm chart, ensure that the values are compatible with the new chart.
- Click Update And Deploy.
Security Scan
​
Enabling the Security scan toggle scans the image(s) in the chart for vulnerabilities and license risks. To know more about security scan, refer to Vulnerability Scanning.
Disable Chart Source​
Only a Super-Admin can disable a chart source in the Chart Store.
Disabling a Helm chart source (e.g., Bitnami) does not display all associated charts in the Chart Store. When you previously used charts from a particular chart source, but no longer want to use it, you can simply disable the chart source by following the instructions below:
-
Navigate to Application Management → Chart Store → Source.
-
Disable the toggle next to your preferred chart source (e.g., Bitnami).

The chart source (e.g., Bitnami) will no longer be displayed in the Chart Source drop-down box, and all its associated charts will no longer be displayed in the All Charts section of the Chart Store page.
You can always enable the chart source again anytime by enabling the toggle next to the chart source.
Delete Chart Source​
Only a Super-Admin can delete a chart source in Devtron.
When you delete a chart source in Devtron, all associated charts will be removed from the Chart Store, and you will no longer be able to view or deploy them. You can consider deleting a chart source when you no longer have any applications running on its charts or when the chart repository is no longer relevant to your business needs.
Disabling charts only hides specific chart repositories and their associated charts from appearing on the Chart Store page. They are not removed from Devtron. However, deleting a chart source removes the chart repository or OCI registry from Devtron entirely, along with all its associated charts.
You can delete a chart source in the following two ways:
You cannot disable or delete the default charts provided by Devtron.
Extras​
Preset Values​
If you frequently deploy a particular chart, you can then predefine its configurations as a template, making it easier to deploy across environments.
To predefine the configurations for a chart, follow the instructions below:
-
Click the Preset Values button.

-
Enter your preferred preset value name in the Name field.

-
Select the chart version for which you'd like to create a preset value from the Chart Version drop-down box.
-
Edit the chart values as per your needs.
-
Click on the Save Value button.
A preset value for the selected chart version is now created and will be displayed in the Chart Values drop-down box whenever you wish to deploy the same chart again.
Example​
Deploying mySQL Helm Chart​
Discover the mySQL Helm Chart in Chart Store​
-
Navigate to Chart Store.

-
Enter
mySQLin the search bar at the top-left corner of the Chart Store page. -
Select
bitnami/mySQLfrom the list of available charts.
Configure and Deploy the Chart​
Once you have clicked on the bitnami/mySQL, follow the set of instructions below:
-
Read the README.md file to know more about the chart configurations.

-
Refer to the tables below and fill in the details:

Key Description App Name Enter the name of your application Project Select your project Environment Select the environment where you want to deploy the chart Chart Version Select the chart version you prefer to deploy Chart Value Select the chart value you prefer to use. Kindly refer to Preset Values Parameters Description mysqlRootPasswordPassword for the root user. Ignored if existing secret is provided mysqlDatabaseName of your MySQL database mysqluserUsername of new user to create mysqlPasswordPassword for the new user. Ignored if existing secret is provided -
Click Deploy Chart to deploy the chart.
Check the Deployment Status​
When you deploy the chart, you will be redirected to the App Details tab of the Helm application.

The Application Status should be Healthy, indicating that the application has been successfully deployed.
Extract the Service Name​
Service names makes it easier to find, connect to, and interact with your application. To extract the service name, navigate to K8s Resources → Networking → Service. The service name(s) are displayed in the Name column along with the URL in the URL column.
