Stop passing variables Helm the wrong way

In modern software development, Continuous Integration and Continuous Deployment (CICD) pipelines are essential. They allow for the automatic and consistent deployment of applications. The helm-set plugin is a valuable tool in this context, allowing you to pass (dynamic/secret) environment variables directly to your Helm deployments within a CICD pipeline without a need for source code changes. This functionality is heavily inspired by Terraform’s envsubst feature.

Photo by Michael Marais on Unsplash

The old way

Let’s assume you have a Helm chart named my-chart and you want to set the variable replicaCount to 3 when deploying a release. You can do this using the following command:

Read More