clan-cli: secrets: sops: SOPS_NIX_SECRET is not a sops variable

It's a variable internal to us, and it does not need to be allowed.
This commit is contained in:
Louis Opter
2024-11-20 16:54:58 -08:00
committed by Mic92
parent 1e0db82827
commit 5a5b92ef1d

View File

@@ -220,7 +220,6 @@ def run(
"SOPS_GPG_EXEC", "SOPS_GPG_EXEC",
"SOPS_AGE_KEY", "SOPS_AGE_KEY",
"SOPS_AGE_KEY_FILE", "SOPS_AGE_KEY_FILE",
"SOPS_NIX_SECRET",
}: }:
del environ[var] del environ[var]
sops_cmd.extend(["encrypt", "--in-place"]) sops_cmd.extend(["encrypt", "--in-place"])