feat(argocd): let Kustomize inflate Helm charts #86
Loading…
Reference in a new issue
No description provided.
Delete branch "ivuorinen/feat/argocd-kustomize-helm"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sets kustomize.buildOptions: --enable-helm in argocd-cm, so a Kustomization
can inflate a Helm chart with helmCharts. ArgoCD runs
kustomize buildwithout that flag unless argocd-cm sets it, and has no per-Application
switch.
This is the first of two PRs moving Longhorn under ArgoCD, and it has to be
merged and synced first: "feat: manage Longhorn with an ArgoCD Application"
adds gitops/apps/longhorn/, which inflates the Longhorn chart this way so its
patches can annotate objects the chart's values cannot reach. Merged first,
argocd-config applies the key before the longhorn Application is ever
rendered; merged together, that Application would report a ComparisonError
until the next refresh.
No other Application uses Kustomize, so this changes nothing else. ArgoCD
reads kustomize.buildOptions from its cached argocd-cm on every comparison
(util/settings/settings.go GetKustomizeSettings, called per comparison in
controller/state.go), so no restart is needed. After merging, confirm
argocd-config is Synced before merging the Longhorn PR.