mirror of
https://github.com/labring/sealos.git
synced 2026-08-30 17:58:09 +08:00
9902819f76
Add two optional metav1.Time fields to mark notification active period: - StartTime: marks when notification becomes active - EndTime: marks when notification expires This enables time-based notification control and filtering. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
Notification
Notification center of Sealos Cloud,Other controllers will send notification CR to user namespace.
type NotificationSpec struct {
Title string json:"title"
Message string json:"message"
TimeStamp int64 json:"timestamp"
From string json:"from,omitempty" // from which controller send the notification
Importance Type json:"importance,omitempty"
}
Frontend need to know the notification is read or unread,will using label to select,label key is isRead,value is True/False.
How to deploy
kubectl apply -f deploy/manifests/deploy.yaml