Skip to content

Commit

Permalink
fix: update sops configuration file
Browse files Browse the repository at this point in the history
Allow encrypted files to be edited and
adjust YAML indentation to two.
  • Loading branch information
onedr0p authored Jan 8, 2025
1 parent 615550e commit 8e12733
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/config/.sops.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@
creation_rules:
- # IMPORTANT: This rule MUST be above the others
path_regex: talos/.*\.sops\.ya?ml
mac_only_encrypted: true
key_groups:
- age:
- "#{ age_pubkey }#"
- path_regex: kubernetes/.*\.sops\.ya?ml
encrypted_regex: "^(data|stringData)$"
mac_only_encrypted: true
key_groups:
- age:
- "#{ age_pubkey }#"
stores:
yaml:
indent: 2

0 comments on commit 8e12733

Please sign in to comment.