kubesphere / ksbuilder

A CLI tool helps you to manage the development of kubesphere extensions
MIT License
10 stars 19 forks source link

Force update fields to handle conflicts #46

Closed iawia002 closed 1 year ago

iawia002 commented 1 year ago

If some of the fields of an already published extension have been changed by someone else, then using ksbuilder to publish the extension will cause a conflict, in which case we need to force the existing values to be overwritten, based on the contents of the extension package, see https://kubernetes.io/docs/reference/using-api/server-side-apply/#conflicts for more info.

ref https://github.com/kubesphere/issues/issues/1595

/cc @wansir