Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Use certificate-pin trust for the self-signed pipeline fixture
pulse-triage[bot]00ed443d002b
diff --git a/internal/monitoring/truenas_poller_test.go b/internal/monitoring/truenas_poller_test.goindex af66fc999e..145bfa6133 100644--- a/internal/monitoring/truenas_poller_test.go+++ b/internal/monitoring/truenas_poller_test.go@@ -2247,7 +2247,11 @@ func TestTrueNASPartialReportingPipeline(t *testing.T) {}))defer server.Close()fingerprint := fmt.Sprintf("%x", sha256.Sum256(server.Certificate().Raw))- client, err := truenas.NewClient(truenas.ClientConfig{Host: server.URL, APIKey: "synthetic", Fingerprint: fingerprint})+ // Trust only this fixture certificate via VerifyConnection, rather than+ // requiring httptest's self-signed certificate to have a public CA chain.+ // Fingerprint pinning remains enforced (including the existing mismatch+ // controls in internal/truenas); no production TLS setting is changed.+ client, err := truenas.NewClient(truenas.ClientConfig{Host: server.URL, APIKey: "synthetic", Fingerprint: fingerprint, InsecureSkipVerify: true})if err != nil {t.Fatal(err)}