Open volver-13 opened 1 year ago
Have you tried adding the helm repo update to the init
phase of the plugin?
https://argo-cd.readthedocs.io/en/stable/operator-manual/config-management-plugins/#write-the-plugin-configuration-file
argocd synchronizing does not respect to the syncOption "CreateNamespace=true". It tried to do helm template before creating the namespace, so it failed because there is no namespace
For others that see this error. I received this same error on a different chart. After some digging, I found the chart index file had been corrupted. Specifically there as a published chart (tgz) but no record in the index.yaml file.
I can't say this is the same issue you are experiencing, but I recommend check the published index.yaml and chart tgz file exists.
If you're using value from another repo, whose deletion trigger the application delete cause this error, as I'm using a custom plugin.
Checklist:
argocd version
.Describe the bug
We have recently migrated CMP to sidecars which is a pre-requiste when upgrading from
v2.7
tov2.8
as per the instructions.We use ArgoCD Vault Plugin and we have
argocd-repo-server
running with 5 sidecars now:We mostly rely on
argocd-vault-plugin-helm-with-args
plugin for our applications but right now after upgrade we noticed the following errors:We used to see these errors before for the charts deployment that had chart dependencies specified in
Chart.yaml
like for example (robusta helm chart):We tried adding helm charts to ArgoCD repos but it never solved the issue.
So far our workaround was to
kubectl exec
intoargocd-repo-server
container and executehelm repo add prometheus-community https://prometheus-community.github.io/helm-charts
When ArgoCD services are restarted the issue reoccurs. It would be really annoying especially now considering the fact of having 5 sidecars and couple of repos to be added.
To Reproduce
Create ApplicationSet as follows:
The following repo https://gitlab.com/argo/platform/resources/robusta/helm-chart contains robusta helm chart (
helm pull robusta/robusta --version 0.10.21
)Expected behavior
Chart is templated correctly with vault secrets.
Screenshots
Logs