What are the consequences of Argo CD using `helm template` rather than `helm install`?
IntermediateConceptHelm, Kustomize & Multiple Sources
Answer
- No Helm release Secret:
helm listandhelm historyshow nothing, andhelm rollbackcannot be used. - The
lookupfunction returns empty, so charts that read existing Secrets or ConfigMaps at render time misbehave. - Random functions (
randAlphaNum,genCA) produce new values on every render, causing permanent diffs. - Install vs upgrade (
.Release.IsInstall) cannot be distinguished. .Capabilities.APIVersionscomes from the target cluster, which Argo CD passes in.
More on Helm, Kustomize & Multiple Sources
How does Argo CD deploy a Helm chart?BeginnerWhat are the ways to provide Helm values in an Application?BeginnerHow do you deploy a chart from an OCI registry?IntermediateHow does Argo CD deploy Kustomize, and what overrides can the Application set?BeginnerWhat are multiple sources, and what is the `$values` reference?IntermediateWhat are the caveats of multiple sources?Advanced