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: creation_rules:
- path_regex: provision/.*\.sops\.ya?ml - path_regex: provision/.*\.sops\.ya?ml
unencrypted_regex: "^(kind)$" unencrypted_regex: "^(kind)$"
age: >- key_groups:
${BOOTSTRAP_AGE_PUBLIC_KEY} - age:
- path_regex: cluster/.*\.ya?ml - ${BOOTSTRAP_AGE_PUBLIC_KEY}
- path_regex: cluster/.*\.sops\.ya?ml
encrypted_regex: "^(data|stringData)$" encrypted_regex: "^(data|stringData)$"
age: >- key_groups:
${BOOTSTRAP_AGE_PUBLIC_KEY} - age:
- ${BOOTSTRAP_AGE_PUBLIC_KEY}