argo-cd: Argocd app diff failing with the URL scheme 'secrets' is not allowed
Checklist:
- I’ve searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
- I’ve included steps to reproduce the bug.
- I’ve pasted the output of
argocd version
.
Describe the bug
I have configured my helm.valuesFilesSchemes
.
helm.valuesFileSchemes: http, https, secrets
However, when I run argocd app diff with the application that has a secrets://values.yaml
valuesfile, it fails with the error the URL scheme 'secrets' is not allowed
. The application works however, if deployed. But diff fails
To Reproduce
- configure
helm.valuesFilesSchemes
to allow secrets - Create an argocd helm application that references a values file using
secrets://<values-file>
- Run
argocd app diff <app-name> --local . --local-repo-root .
Expected behavior
Screenshots
Version
argocd: v2.3.3+07ac038.dirty
BuildDate: 2022-03-30T05:20:18Z
GitCommit: 07ac038a8f97a93b401e824550f0505400a8c84e
GitTreeState: dirty
GoVersion: go1.18
Compiler: gc
Platform: darwin/amd64
argocd-server: v2.3.3+07ac038
BuildDate: 2022-03-30T00:06:18Z
GitCommit: 07ac038a8f97a93b401e824550f0505400a8c84e
GitTreeState: clean
GoVersion: go1.17.6
Compiler: gc
Platform: linux/amd64
Ksonnet Version: v0.13.1
Kustomize Version: v4.4.1 2021-11-11T23:36:27Z
Helm Version: v3.8.0+gd141386
Kubectl Version: v0.23.1
Jsonnet Version: v0.18.0
Logs
Paste any relevant application logs here.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 21 (12 by maintainers)
Hi, I updated ArgoCD to 5.14.1 and added config: helm.valuesFileSchemes: http, https, secrets and issue seems to be resolved.
Reopening this issue as it appear to still persists. I’ve not tested this because I no longer use sops secrets. I thought following the release of serverside generated manifests it would resolve this issue, but it seems still pending.
Hello, I have the same issue with and without the
--server-side
flag. Running 2.5.2 server and client.