kurator icon indicating copy to clipboard operation
kurator copied to clipboard

Add webhook for CustomCluster, CustomMachine, Fleet, Application, AttachedCluster

Open Xieql opened this issue 1 year ago • 3 comments

What would you like to be added: add webhook for:

  • [x] CustomCluster #338
  • [x] CustomMachine #356
  • [ ] Fleet
  • [x] Application #359
  • [x] AttachedCluster #344

Why is this needed:

At present, validation webhooks are only available for the CRD of the 'cluster.kurator.dev/v1alpha1' .

However, validation webhooks are also required for the other CRDs.

Xieql avatar Jun 19 '23 08:06 Xieql

/assign

Xieql avatar Jun 19 '23 08:06 Xieql

maybe @zirain can give you some advice, i remember he did some research about using kubebuilder

hzxuzhonghu avatar Jun 19 '23 09:06 hzxuzhonghu

maybe @zirain can give you some advice, i remember he did some research about using kubebuilder

yes, I found his preview pr in #172

Xieql avatar Jun 19 '23 09:06 Xieql