Skip to content

Commit

Permalink
Merge pull request #3451 from consideRatio/pr/configure-sops
Browse files Browse the repository at this point in the history
sops: configure indentation and get YAML valid .json output
  • Loading branch information
consideRatio authored Nov 27, 2023
2 parents 0117391 + 5b4f043 commit 3bdeea2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .sops.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,14 @@ creation_rules:
gcp_kms: projects/two-eye-two-see/locations/global/keyRings/sops-keys/cryptoKeys/similar-hubs
- path_regex: deployer/keys/.*key.*
gcp_kms: projects/two-eye-two-see/locations/global/keyRings/sops-keys/cryptoKeys/similar-hubs

# stores configuration is supported by sops 3.9.0+ only
stores:
# By configuring json indent, we get spaces instead of tabs for json files,
# which makes them valid YAML files as well.
json:
indent: 4
json_binary:
indent: 4
yaml:
indent: 2

0 comments on commit 3bdeea2

Please sign in to comment.