From 529aa89bb2109818c9e4fa26ccb647a8057558f0 Mon Sep 17 00:00:00 2001 From: LeeW Date: Fri, 14 Feb 2025 14:34:26 +0100 Subject: [PATCH] verification: restore original header :-) --- example/cmd_sops.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/example/cmd_sops.sh b/example/cmd_sops.sh index 09aee1d..f280c1d 100755 --- a/example/cmd_sops.sh +++ b/example/cmd_sops.sh @@ -18,3 +18,11 @@ set -x # ../bin/update_sops.sh -k "${keys_dir}" -c "${sops_cfg_dir}" -s "${secrets_file}" "${secrets_file}" # TEST: induce error: invalid file # ../bin/update_sops.sh "${secrets_file}" -s non_existing_secrets.yaml + +# Special Case: Add caveat header +cat < .sops.yaml.tmp +# PURPOSE: BLUEPRINT for .sops.yaml config +# CAVEAT: DO NOT USE THIS FILE AS-IS in another project; copy it and remove the unauthorised users +$( cat .sops.yaml ) +EOM +mv .sops.yaml.tmp .sops.yaml