What are the consequences of Argo CD using `helm template` instead of `helm install`?
AdvancedConceptSchema, Helmfile, Argo CD & Secrets
Answer
- No release Secrets:
helm list,helm history,helm rollbackandhelm testdo not apply. Rollback is Argo CD history or a Git revert. lookupreturns empty, so "keep existing password" logic regenerates values every render.- Random functions (
randAlphaNum,genCA) and.Release.Revisioncause permanent OutOfSync. .Release.IsInstallis always true..Capabilitiescomes from Argo CD's view of the cluster (configurable withkubeVersion/apiVersionsin the source).- Hooks are translated to Argo CD sync hooks rather than executed by Helm.
Charts meant for GitOps should be deterministic.
More on Schema, Helmfile, Argo CD & Secrets
When is `values.schema.json` validated, and can it be skipped?IntermediateHow do you express "password is required only when the internal database is enabled" in a schema?AdvancedWhat is Helmfile?BeginnerShow a realistic `helmfile.yaml`.IntermediateWhat is the difference between `helmfile sync` and `helmfile apply`?IntermediateHow does Argo CD deploy a Helm chart?Advanced