Closed sergeiwaigant closed 1 year ago
If you could provide the output from HELM_SECRETS_DEBUG=true
with secrets://secrets.yaml
?
Could you retry it with HELM_SECRETS_WRAPPER_ENABLED=false? This requires also a hard refresh to clear the cache.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Current Behavior
I am trying to get ArgoCD running with Helm Secrets and SOPS backend. The application that I define in ArgoCD is as follows:
In the GitOps repository I am having the following files in dev branch and dev/app-name folder.
The behaviour is now, that I can see in ArgoCD the parameters under app details -> parameters, but only out of the values.yaml, it is not complaining about the
secrets.yaml
, but also not loading the valuesIf I change the
secrets://secrets.yaml
to something likesecrets://secrets-wrong-name.yaml
its complaining that the file cannot be found... so the git checkout and secrets plugin is trying to do something with that file. Also settingHELM_SECRETS_DEBUG=true
is printing more detailed infos in the log which are pointing out that the file cannot be found... if the filename is consistent, no error message is visible but the above behaviour existsOn the other hand, if I jump into the repo server container, write the same secret.yaml into /tmp and run
helm secrets decrypt secret.yaml
its perfectly decrypting the file and printing it on stdout. Therefore I would assume that setting up helm-secrets and sops with the gpg key is all correctI tried to move the values in
secrets.yaml
to likehelm-app.configMap
or justapp.configMap
dictionary to match the name of the helm chart or the alias, but didn't worked eitherI tried first the multi source approach, but that didn't worked either and I saw that its in beta. Would be happy to provide more details here if required since I feel that would be the more correct approach and it would remove the requirement of the Chart.yaml
Maybe someone can see what small mistake I did... :)
Expected Behavior
The provided helm.valuesFiles {values.yaml and secrets.yaml) should be merged together and handed over the the helm deployment.
Steps To Reproduce
No response
Environment
Anything else?
No response