helm-secrets icon indicating copy to clipboard operation
helm-secrets copied to clipboard

Allow .sops.yaml to live in a parent directory

Open snstanton opened this issue 6 years ago • 0 comments

Sops is unfortunately a little simplistic in how it looks for the .sops.yaml file. It expects the file to exist in the current working directory and then compares paths relative to that. I would like to collect my .sops.yaml files into a single configuration at the top of my tree to make it easier to share keys with patterns. I haven't found any way to do this that also works with helm-secrets.

Ideally helm-secrets would walk up the parent directories from the secrets.yaml file to find the .sops.yaml and then write the appropriate sops command relative to that directory.

snstanton avatar Feb 01 '19 02:02 snstanton