From e7d8409bd72455e6e7b5ac45c6c87aae8d83020f Mon Sep 17 00:00:00 2001 From: Devin Buhl Date: Wed, 8 Jun 2022 09:01:01 -0400 Subject: [PATCH] feat: use key_groups in sops configuration file --- tmpl/.sops.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tmpl/.sops.yaml b/tmpl/.sops.yaml index d956a3f9..5839d9a8 100644 --- a/tmpl/.sops.yaml +++ b/tmpl/.sops.yaml @@ -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}