From 970de79a90ac8c92abe7cdda60902d8145cc6a5e Mon Sep 17 00:00:00 2001 From: Anton Afanasyeu Date: Wed, 8 Jul 2026 14:56:08 +0200 Subject: [PATCH] Sync lab seeds with hub monitor link, 2FA copy, and nginx monitor route. Align cluster0 deploy seeds and apps-port80 vhost for Grafana monitoring path. Co-authored-by: Cursor --- sim/cluster0/lab-seeds/backend/src/bootstrap.php | 1 + sim/cluster0/lab-seeds/backend/views/layout.php | 12 ++++++++++++ .../lab-seeds/backend/views/two_factor_challenge.php | 6 +++--- sim/cluster0/scripts/deploy-ac-broadcast.sh | 2 ++ 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/sim/cluster0/lab-seeds/backend/src/bootstrap.php b/sim/cluster0/lab-seeds/backend/src/bootstrap.php index ea17cf0..5bb2cbe 100644 --- a/sim/cluster0/lab-seeds/backend/src/bootstrap.php +++ b/sim/cluster0/lab-seeds/backend/src/bootstrap.php @@ -74,6 +74,7 @@ require_once __DIR__ . '/WireGuardAddressPool.php'; require_once __DIR__ . '/WireGuardTrafficStats.php'; require_once __DIR__ . '/RsshSessionProvisioner.php'; require_once __DIR__ . '/RsshBastionProvisioner.php'; +require_once __DIR__ . '/AuthApproval.php'; require_once __DIR__ . '/AuthTwoFactorPage.php'; require_once __DIR__ . '/AnalyticsHead.php'; diff --git a/sim/cluster0/lab-seeds/backend/views/layout.php b/sim/cluster0/lab-seeds/backend/views/layout.php index 671ab43..c919371 100644 --- a/sim/cluster0/lab-seeds/backend/views/layout.php +++ b/sim/cluster0/lab-seeds/backend/views/layout.php @@ -121,6 +121,18 @@ +
  • + + + + Monitoring + Grafana dashboards — cluster health, alerts, exporters. + + +
  • Two-factor authentication

    -

    Scan the QR code with your phone to approve this sign-in, or enter the 6-digit code below.

    +

    Scan with your phone camera (not Google Authenticator) to approve this sign-in on another device, or enter the 6-digit code from your authenticator app below.

    - QR code — scan to approve sign-in on this device + QR code — scan with phone camera to approve sign-in
    - Scan to approve on mobile + Phone camera → tap link → Approve · diff --git a/sim/cluster0/scripts/deploy-ac-broadcast.sh b/sim/cluster0/scripts/deploy-ac-broadcast.sh index cc5703f..fb5c471 100755 --- a/sim/cluster0/scripts/deploy-ac-broadcast.sh +++ b/sim/cluster0/scripts/deploy-ac-broadcast.sh @@ -76,8 +76,10 @@ if is_primary_node; then mariadb -u root <