DEV Community

loading...

How to use/pull environment variables into Helm Chart

jhooq profile image Rahul Wagh Originally published at jhooq.com ・1 min read

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)

Forem Open with the Forem app