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
Keep the token ingress fixture independent of umask
rcourtman47dc675165c2
diff --git a/cmd/pulse-agent/collector_token_ingress_unix_test.go b/cmd/pulse-agent/collector_token_ingress_unix_test.goindex 60713aeefa..0a3ede7689 100644--- a/cmd/pulse-agent/collector_token_ingress_unix_test.go+++ b/cmd/pulse-agent/collector_token_ingress_unix_test.go@@ -65,6 +65,11 @@ func TestCollectorTokenReaderInstallerIngress(t *testing.T) {for _, option := range []string{"collector", "action"} {t.Run(name+"/"+option, func(t *testing.T) {directory := t.TempDir()+ // The installer distrusts group-writable parents; a 0002 umask+ // would otherwise make the fixture fail on the host, not the code.+ if err := os.Chmod(directory, 0700); err != nil {+ t.Fatal(err)+ }path := filepath.Join(directory, "selected.token")if err := os.WriteFile(path, []byte(encoded), 0600); err != nil {t.Fatal(err)