Initial commit

This commit is contained in:
vhaudiquet committed 2025-03-22 14:29:48 +01:00
commit da7781035d
87 files changed
+3160

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
readarray f < <(git diff-tree --no-commit-id --name-only HEAD -r)
for filepath in "${f[@]}"; do
filepath=$(echo "${filepath}" | tr -d '\n')
filename=$(basename ${filepath})
if [[ "${filename}" =~ values.ya?ml$ ]] || [[ "${filename}" =~ secrets?.ya?ml$ ]]; then
sops -d -i "${filepath}"
fi
done