Open tw1nk opened 2 years ago
Currently to support path_regexes that should work on windows and other systems you need to manually handle the different separators with (/|\\) like this.
(/|\\)
- path_regex: staging(/|\\).*\.secret\.(yaml|json)$ gcp_kms: projects/.../sops-key-staging
This is a bit cumbersome and a bit error prone to use and would be nicer if we could just use slashes like this:
- path_regex: staging/.*\.secret\.(yaml|json)$ gcp_kms: projects/.../sops-key-staging
Is it possible to add a note in the README file to help Windows users to understand why path_regex is not working as expected?
Currently to support path_regexes that should work on windows and other systems you need to manually handle the different separators with
(/|\\)
like this.This is a bit cumbersome and a bit error prone to use and would be nicer if we could just use slashes like this: