kubebb / core

A declarative component lifecycle management platform
https://kubebb.github.io/website
Apache License 2.0
8 stars 9 forks source link

duplicate check on portal's path/entry #225

Closed bjwswang closed 1 year ago

bjwswang commented 1 year ago

the path and entry shoud keep unique among the portals with webhook

Henry-Gao-2004 commented 1 year ago

Tasks: When a new portal is added:

  1. check all past data to see if there is a duplicate
  2. If there is a duplicate, mark condition and record which is the equivalent to the new one
bjwswang commented 1 year ago

Too many changes if we use webhoo. We can add a controller for Portal .Do conflict check on path & entry and update the status to let people know a conflict happens