secrets: update SOPS creation path

This commit is contained in:
Gabriel Arazas 2023-12-23 20:41:23 +08:00
parent 709bd491c8
commit b0cc57f014
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -7,9 +7,9 @@ keys:
creation_rules: creation_rules:
- path_regex: hosts/ni/(modules/.+/secrets|secrets/[^/]+)\.(yaml|json|ini|env)$ - path_regex: hosts/ni/(modules/.+/secrets|secrets/[^/]+)\.(yaml|json|ini|env)$
age: *ni age: *ni
- path_regex: hosts/plover/(modules/.+/secret|secrets/[^/]+)\.(yaml|json|ini|env)$ - path_regex: hosts/plover/(modules/.+/secrets|secrets/[^/]+)\.(yaml|json|ini|env)$
age: *plover age: *plover
- path_regex: users/home-manager/foo-dogsquared/(modules/.+/secret|secrets/[^/]+)\.(yaml|json|inienv)$ - path_regex: users/home-manager/foo-dogsquared/(modules/.+/secrets|secrets/[^/]+)\.(yaml|json|inienv)$
key_groups: key_groups:
- age: - age:
- *foo-dogsquared-age - *foo-dogsquared-age