From 4af36e4f65846a0ba73ba69e037ea29f251f110d Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Sun, 11 May 2025 12:20:11 +0200 Subject: [PATCH] run direnv allow in panel to ensure it can get proxmox credentials --- panel/src/panel/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panel/src/panel/views.py b/panel/src/panel/views.py index ec649576..d11f8cd8 100644 --- a/panel/src/panel/views.py +++ b/panel/src/panel/views.py @@ -116,7 +116,7 @@ class DeploymentStatus(ConfigurationForm): # XXX should we not log this if it may show proxmox credentials from `.envrc`s? # those could instead be passed as sensitive TF vars, but that would not address this. logger.debug("env: %s", env) - cwd = f"{settings.repo_dir}/launch" + cwd = f"{settings.repo_dir}/infra/operator" # direnv wants this run upfront, and chaining in subprocess feels awkward subprocess.check_call(["direnv", "allow"], cwd=cwd) cmd = [