-
-
Notifications
You must be signed in to change notification settings - Fork 153
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Current Behavior
When I'm trying to add an application via ArgoCD UI or via CLI I'm getting error that "File does not exist"
Error log:
[helm-secrets] File does not exist: secrets+age-import:///helm-secrets-private-keys/key.txt?secrets.yaml\\nError: plugin \\\"secrets\\\" exited with error\",\"type\":\"ComparisonError\"}]}}" application=wordpress
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: wordpress
spec:
destination:
name: ''
namespace: wordpress
server: 'https://kubernetes.default.svc'
source:
path: xyz/example-wordpress
repoURL: '<REPO_URL>'
targetRevision: init
helm:
valueFiles:
- values.yaml
- secrets+age-import:///helm-secrets-private-keys/key.txt?secrets.yaml
project: default
project tree
example-wordpress$ tree .
.
├── Chart.yaml
├── secrets.yaml
└── values.yaml
I double-checked:
- volume with the secret is properly mounted and accessible
- executed
helm template . -f secrets+age-import:///helm-secrets-private-keys/key.txty?secrets.yamllocally in repo-server pod and it works as expected, decrypted values are correct - tried the approach with k8s secret for getting age key
Expected Behavior
When I add the application in ArgoCD with values that are encrypted using age, helm secrets should decrypt it and install app with decrypted values
Steps To Reproduce
No response
Environment
- Helm Version: 3.6.0
- Helm Secrets Version: 3.12.0
- OS: Ubuntu 21.04
- Shell: bash, version 5.1.4(1)-release
Anything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working