refactor: extract generic workload-layer from node configs

This commit is contained in:
Tibo De Peuter 2026-08-18 20:13:25 +02:00
parent f9e883d1b8
commit e23006d701
7 changed files with 3 additions and 41 deletions

View file

@ -5,7 +5,7 @@
# Usage: ./hypervisor-sync.sh <REPO_URL> <OPENTOFU_DIR>
REPO_URL=${1:-"https://git.depeuter.dev/Bos55/nix-config.git"}
OPENTOFU_DIR=${2:-"opentofu/nodes/mikoshi"}
OPENTOFU_DIR=${2:-"opentofu/workload-layer/production"}
echo "Starting Hypervisor GitOps sync..."

View file

@ -26,7 +26,7 @@ fi
# Ensure workspace directory exists for this PR
WORKSPACE="/var/lib/hypervisor-gitops/staging-pr-${PR_NUMBER}"
OPENTOFU_SRC="/var/lib/hypervisor-gitops/nix-config/opentofu/staging-env"
OPENTOFU_SRC="/var/lib/hypervisor-gitops/nix-config/opentofu/workload-layer/staging"
# TrueNAS API variables
TRUENAS_URL=${TRUENAS_URL:-"https://192.168.0.11"}