jkroepke / helm-secrets

A helm plugin that help manage secrets with Git workflow and store them anywhere
https://github.com/jkroepke/helm-secrets/wiki
Apache License 2.0
1.53k stars 129 forks source link

file not found issues after upgrading secrets plugin #398

Closed ckopparthi closed 1 year ago

ckopparthi commented 1 year ago

Current Behavior

helm template . -f 'secret://secrets.test.yaml' Error: open secret://secrets.test.yaml: no such file or directory

Expected Behavior

No response

Steps To Reproduce

1. upgrade the helm secrets plugin from 3.4.1 to 4.5.0
2. run helm template/upgrade using helm `helm template . -f 'secret://secrets.test.yaml'`

Environment

Anything else?

No response

jkroepke commented 1 year ago

you can please rerun your command with helm --debug template and share the output here?

ckopparthi commented 1 year ago

below is the debug output @jkroepke

 helm template . -f 'secret://secrets.test.yaml' --debug
install.go:200: [debug] Original chart version: ""
install.go:217: [debug] CHART PATH: /Users/ckopparthi/temp/test-secret

Error: open secret://secrets.test.yaml: no such file or directory
helm.go:84: [debug] open secret://secrets.test.yaml: no such file or directory

but the file is already present in the path

 test-secret pwd
/Users/ckopparthi/temp/test-secret

ls secrets.test.yaml
secrets.test.yaml
jkroepke commented 1 year ago

Could you please try secrets:// instead secret://.

ckopparthi commented 1 year ago

Thanks for quick response @jkroepke after using the secrets:// it worked, but secret:// used to work in earlier versions

jkroepke commented 1 year ago

It was removed in version 4.0.0