DEV Community

Rahul Wagh
Rahul Wagh

Posted on • Originally published at jhooq.com

How to use/pull environment variables into Helm Chart

This lab session will help you to understand "How to pass environment variables into the Helm Chart". There are total 2 ways by which you can pass the environment variables into the helm chart

  1. Using command-line interface to pass environment variables example: - helm install --set replicaCount=2 h helloworld-1 world
  2. Using your own values.yaml to pass environment variables example: - helm install -f myvalues.yaml helloworldrelease helloworld

Discussion (0)