Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

Fix false self-container update reports

rcourtmanf675b5a4d8f2
diff --git a/internal/dockeragent/registry.go b/internal/dockeragent/registry.go
index 3867d87532..d997ff56f5 100644
--- a/internal/dockeragent/registry.go
+++ b/internal/dockeragent/registry.go
@@ -73,6 +73,8 @@ type ImageUpdateResult struct {
func isPulseManagedImageReference(image string) bool {
normalized := strings.ToLower(strings.TrimSpace(image))
for _, repository := range []string{
+ "rcourtman/pulse",
+ "docker.io/rcourtman/pulse",
"license.pulserelay.pro/pulse-pro",
"registry.pulserelay.pro/pulse/pulse-pro",
} {
diff --git a/internal/dockeragent/registry_http_test.go b/internal/dockeragent/registry_http_test.go
index 4ce15e9d21..05aa3f3370 100644
--- a/internal/dockeragent/registry_http_test.go
+++ b/internal/dockeragent/registry_http_test.go
@@ -36,9 +36,12 @@ func TestRegistryChecker_CheckImageUpdate_Behavior(t *testing.T) {
}
})
- t.Run("Pulse private image uses the product update service", func(t *testing.T) {
+ t.Run("Pulse images use the product update service", func(t *testing.T) {
checker := NewRegistryChecker(logger)
for _, image := range []string{
+ "rcourtman/pulse:latest",
+ "docker.io/rcourtman/pulse:6.3.1",
+ "rcourtman/pulse@sha256:abc123",
"license.pulserelay.pro/pulse-pro:6.2.0-rc.4",
"license.pulserelay.pro/pulse-pro@sha256:abc123",
"registry.pulserelay.pro/pulse/pulse-pro:v6.0.5",