Add git diff
support for sops
files
This commit is contained in:
parent
c7d06a8cf3
commit
60c8a7d4dc
6
.gitattributes
vendored
Normal file
6
.gitattributes
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
secrets/**/*.env diff=sopsdiffer
|
||||
secrets/**/*.env.* diff=sopsdiffer
|
||||
secrets/**/*.ini diff=sopsdiffer
|
||||
secrets/**/*.json diff=sopsdiffer
|
||||
secrets/**/*.yaml diff=sopsdiffer
|
||||
secrets/**/*.yml diff=sopsdiffer
|
2
.gitconfig
Normal file
2
.gitconfig
Normal file
|
@ -0,0 +1,2 @@
|
|||
[diff "sopsdiffer"]
|
||||
textconv = "sops --decrypt"
|
Loading…
Reference in a new issue