[Enhancement] Documentation: Helm Values Templating Guide #23903
YvesEarnix
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
While Argo CD has extensive documentation on secret management, there's a gap in guidance for injecting non-sensitive dynamic values (like Terraform outputs) into Helm charts.
This enhancement proposes creating comprehensive documentation to address this common use case based on this proposed solution.
Motivation
Current State
Use Case
A typical DevOps workflow involves:
Proposed Solution
One effective solution is to use Argo CD's ApplicationSet with Git generator to inject non-sensitive values from a Git repository into Helm charts.
This approach allows dynamic values to be templated without modifying the original Helm chart structure, ensuring compatibility with future chart versions.
What do you think about this approach?
Detailed example scenario
Injecting an Azure managed identity client ID into a Loki chart for workload identity authentication.
Step 1: Store Terraform Outputs in Git Repository
Use the Terraform GitHub provider or any others way to push non-sensitive outputs in json format to a dedicated values repository:
File values.json will look like this:
Step 2: Configure ApplicationSet with Git Generator
Use Argo CD's Git generator to inject values from the value repository into Helm charts:
Key Components Explained
Beta Was this translation helpful? Give feedback.
All reactions