mirror of
https://github.com/labring/sealos.git
synced 2026-10-31 02:11:58 +08:00
* add ali sms service for debt message notification * add notification crd && fix debt update notification
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