Fix agenix secret streaming for NSC configs
Some checks failed
Build Rust / Cargo Test (push) Waiting to run
Build Site / Next.js Build (push) Waiting to run
Build Apple / Build App (iOS Simulator) (push) Failing after 58s
Build Apple / Build App (macOS) (push) Failing after 2m0s

This commit is contained in:
Conrad Kramer 2026-03-19 00:43:31 -07:00
parent 52b7f102f0
commit ef3585bb14
4 changed files with 2 additions and 6 deletions

View file

@ -117,12 +117,8 @@ burrow_encrypt_secret_from_file() {
identity_path="$(burrow_agenix_identity_path "${repo_root}")" identity_path="$(burrow_agenix_identity_path "${repo_root}")"
if [[ -n "${identity_path}" ]]; then if [[ -n "${identity_path}" ]]; then
SECRET_SOURCE_FILE="${source_path}" \ nix --extra-experimental-features "nix-command flakes" run "${repo_root}#agenix" -- -e "${agenix_path}" -i "${identity_path}" < "${source_path}"
EDITOR="${repo_root}/Scripts/agenix-load-file.sh" \
nix --extra-experimental-features "nix-command flakes" run "${repo_root}#agenix" -- -e "${agenix_path}" -i "${identity_path}"
else else
SECRET_SOURCE_FILE="${source_path}" \ nix --extra-experimental-features "nix-command flakes" run "${repo_root}#agenix" -- -e "${agenix_path}" < "${source_path}"
EDITOR="${repo_root}/Scripts/agenix-load-file.sh" \
nix --extra-experimental-features "nix-command flakes" run "${repo_root}#agenix" -- -e "${agenix_path}"
fi fi
} }

Binary file not shown.