V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m40s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-10-24 21:36:17 +01:00
parent 2dd7607dd0
commit 9972a0fd28

View File

@@ -161,13 +161,13 @@ yaml_secret() {
### Decrypt once, stream into yq; avoid storing full doc in memory. ### Decrypt once, stream into yq; avoid storing full doc in memory.
# shellcheck disable=SC1083,SC2312 # shellcheck disable=SC1083,SC2312
exec {__pipe_fd}< <( exec {__pipe_fd}< <(
sops -d --input-type=yaml --output-type=yaml -- "${secrets_yaml}" | yq -rj "${__yq_expr}" - sops -d --input-type=yaml --output-type=yaml -- "${secrets_yaml}" | yq -r --join-output "${__yq_expr}" -
) )
else else
# shellcheck disable=SC1083,SC2312 # shellcheck disable=SC1083,SC2312
exec {__pipe_fd} < <( yq -rj "${__yq_expr}" -- "${secrets_yaml}") exec {__pipe_fd}< <( yq -r --join-output "${__yq_expr}" -- "${secrets_yaml}")
fi fi