feat(opendesk-synapse-create-account): basic ArgoCD support
Although ArgoCD can deploy Helm charts, it occasionally encounters
difficulties in doing so. One such instance is with the
opendesk-synapse-create-account
Helm chart.
Upon examining the generated YAML files of the chart, I found that ArgoCD's Helm hook mapping functionality falls short in this case. As documented at https://argo-cd.readthedocs.io/en/stable/user-guide/helm/#helm-hooks, there are limitations to consider when working with Helm hooks within ArgoCD.
Two specific hooks pose challenges:
- The
post-install
hook, equivalent to the ArgoCDPostSync
, is supported. - The
pre-delete
hook is not supported and is therefore ignored.
The differences between Helm's post-install
hook and ArgoCD's
PostSync
can sometimes cause deployment issues. For instance, as
noted in https://github.com/argoproj/argo-cd/issues/17604, this
disparity can lead to blocked deployments.
I have personally experienced the same issue with this chart. To
overcome this hurdle, I also recommend removing the pre-delete
job
from ArgoCD-based deployments.