What is the difference between `helmfile sync` and `helmfile apply`?
IntermediateConceptSchema, Helmfile, Argo CD & Secrets
Answer
sync: runshelm upgrade --installfor every release, whether or not anything changed.apply: runshelm difffirst and upgrades only releases with changes, then deletes releases markedinstalled: false. Exit status can signal changes (--detailed-exitcode).
apply is what CI should use: quieter history, faster, and the diff is printed for audit. Other useful commands: helmfile template, helmfile lint, helmfile destroy, helmfile -l name=shop apply (label selector).
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`.IntermediateHow does Argo CD deploy a Helm chart?AdvancedWhat are the consequences of Argo CD using `helm template` instead of `helm install`?Advanced