Injecting configuration value into Helm Chart

10/16/2018

I am getting started building a Helm chart for a kube cluster I am deploying to AKS in Azure. I am building an AKS cluster with ARM templates, and I want to take the output of the ARM template (in this case an App Insights Key) and place it into my Chart so all my apps use that key in config. I am at a point where I can get the key from the template in the command line (using Azure CLI), but I am not sure how to get that key into my charts dynamically. I know I can use values.yaml for this, but the syntax I am struggling with. Is there command I need to pass into helm to do this, or some template binding syntax will do the trick.

-- Isaac Levin
azure
command-line-interface
containers
kubernetes
kubernetes-helm

0 Answers