diff --git a/pkg/addonmanager/controllers/agentdeploy/healthcheck_sync.go b/pkg/addonmanager/controllers/agentdeploy/healthcheck_sync.go index eadae442d..e9955d5d8 100644 --- a/pkg/addonmanager/controllers/agentdeploy/healthcheck_sync.go +++ b/pkg/addonmanager/controllers/agentdeploy/healthcheck_sync.go @@ -192,7 +192,7 @@ func (s *healthCheckSyncer) probeAddonStatusByWorks( Type: addonapiv1alpha1.ManagedClusterAddOnConditionAvailable, Status: metav1.ConditionTrue, Reason: addonapiv1alpha1.AddonAvailableReasonProbeAvailable, - Message: "Addon is available", + Message: fmt.Sprintf("%s add-on is available.", addon.Name), }) return nil } diff --git a/pkg/addonmanager/controllers/agentdeploy/healthcheck_sync_test.go b/pkg/addonmanager/controllers/agentdeploy/healthcheck_sync_test.go index 7277fda57..1d2922335 100644 --- a/pkg/addonmanager/controllers/agentdeploy/healthcheck_sync_test.go +++ b/pkg/addonmanager/controllers/agentdeploy/healthcheck_sync_test.go @@ -290,7 +290,7 @@ func TestHealthCheckReconcile(t *testing.T) { Type: addonapiv1alpha1.ManagedClusterAddOnConditionAvailable, Status: metav1.ConditionTrue, Reason: addonapiv1alpha1.AddonAvailableReasonProbeAvailable, - Message: "Addon is available", + Message: "test add-on is available.", }, }, @@ -527,7 +527,7 @@ func TestHealthCheckReconcile(t *testing.T) { Type: addonapiv1alpha1.ManagedClusterAddOnConditionAvailable, Status: metav1.ConditionTrue, Reason: addonapiv1alpha1.AddonAvailableReasonProbeAvailable, - Message: "Addon is available", + Message: "test add-on is available.", }, }, }