feat: use key_groups in sops configuration file

This commit is contained in:
Devin Buhl authored and GitHub committed 2022-06-08 09:01:01 -04:00
1 parent 20293350a2
commit e7d8409bd7
1 file changed
+7 -5
+7 -5
View File
@@ -2,9 +2,11 @@
creation_rules:
- path_regex: provision/.*\.sops\.ya?ml
unencrypted_regex: "^(kind)$"
age: >-
${BOOTSTRAP_AGE_PUBLIC_KEY}
- path_regex: cluster/.*\.ya?ml
key_groups:
- age:
- ${BOOTSTRAP_AGE_PUBLIC_KEY}
- path_regex: cluster/.*\.sops\.ya?ml
encrypted_regex: "^(data|stringData)$"
age: >-
${BOOTSTRAP_AGE_PUBLIC_KEY}
key_groups:
- age:
- ${BOOTSTRAP_AGE_PUBLIC_KEY}