You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes, when syncing an app with some secrets:// values file that is indeed where it should be, the sync will fail with the following error, found in the UI and the repo server: Error: open secrets://secrets/prod.sops.yaml: no such file or directory.
(Trying) To Reproduce
We have not been able to reproduce consistently the issue, it seems to occur randomly when syncing such an app. However, here are some findings we discovered when trying to reproduce the behavior.
We did not manage to reproduce the bug manually, directly using the same helm template command (shown in the logs below) from within the repo server. However, the only way we found to reproduce this precise error message, was to launch the command without having installed the helm-secrets plugin.
When the file is missing and helm-secrets is installed, the message is different:
[helm-secrets] File does not exist: secrets/prod.sops.yaml
Error: plugin "scripts/run.sh downloader" exited with error
The fact that this error seems random but always mentions the secrets:// file, combined with the fact that we could not obtain this exact error other than by removing the plugin, suggests that the problem is in the integration of the plugin.
I am opening this issue in the ArgoCD repository as it is the only place where we saw the problem occur, since we were not able to reproduce it using directly Helm.
Expected behavior
The sync should never fail with this error when the file is not missing.
Checklist
argocd version
.Describe the bug
Sometimes, when syncing an app with some
secrets://
values file that is indeed where it should be, the sync will fail with the following error, found in the UI and the repo server:Error: open secrets://secrets/prod.sops.yaml: no such file or directory
.(Trying) To Reproduce
We have not been able to reproduce consistently the issue, it seems to occur randomly when syncing such an app. However, here are some findings we discovered when trying to reproduce the behavior.
We did not manage to reproduce the bug manually, directly using the same
helm template
command (shown in the logs below) from within the repo server. However, the only way we found to reproduce this precise error message, was to launch the command without having installed thehelm-secrets
plugin.When the file is missing and
helm-secrets
is installed, the message is different:The fact that this error seems random but always mentions the
secrets://
file, combined with the fact that we could not obtain this exact error other than by removing the plugin, suggests that the problem is in the integration of the plugin.I am opening this issue in the ArgoCD repository as it is the only place where we saw the problem occur, since we were not able to reproduce it using directly Helm.
Expected behavior
The sync should never fail with this error when the file is not missing.
Versions
Logs
In the repo server:
The text was updated successfully, but these errors were encountered: