From 94318afd0a3e3d38ddaa359cb389bcbb80de08fe Mon Sep 17 00:00:00 2001 From: Jeff Pihach Date: Wed, 7 Sep 2022 14:10:51 -0600 Subject: [PATCH] Reduce the severity of the upgrade alert to 'info'. (#16183) --- lib/auth/auth.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/auth/auth.go b/lib/auth/auth.go index d828e3c5461..236a02025fb 100644 --- a/lib/auth/auth.go +++ b/lib/auth/auth.go @@ -549,6 +549,9 @@ func (a *Server) checkForReleases(ctx context.Context) { alert, err := types.NewClusterAlert( alertID, msg, + // Defaulting to "low" severity level. We may want to make this dynamic + // in the future depending on the distance from up-to-date. + types.WithAlertSeverity(types.AlertSeverity_LOW), types.WithAlertLabel(types.AlertOnLogin, "yes"), types.WithAlertLabel(types.AlertPermitAll, "yes"), )