vars: respect deploy flag for shared secrets

This commit is contained in:
Juanjo Presa
2025-10-18 23:09:31 +02:00
parent 5ab3c86b68
commit c7cee905d1
4 changed files with 25 additions and 3 deletions

View File

@@ -90,6 +90,7 @@ def vars_status(
if (
isinstance(machine.secret_vars_store, sops.SecretStore)
and generator.share
and file.deploy
and file.exists
and not machine.secret_vars_store.machine_has_access(
generator=generator,