mirror of
https://github.com/labring/sealos.git
synced 2026-11-03 20:53:57 +08:00
* Depre Bytebase. Signed-off-by: zzjin <tczzjin@gmail.com> * Fix format. Signed-off-by: zzjin <tczzjin@gmail.com> * Add code license header. Signed-off-by: zzjin <tczzjin@gmail.com> * Move imagehub && hub into staging. Signed-off-by: zzjin <tczzjin@gmail.com> * Update ci fix. Signed-off-by: zzjin <tczzjin@gmail.com> * Fix goimports format. Signed-off-by: zzjin <tczzjin@gmail.com> --------- Signed-off-by: zzjin <tczzjin@gmail.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