Skip to content

Commit 04fdd0b

Browse files
authored
Add support for Server-Side Apply finalizer management (#3275)
This improves performance and load on the k8s API by decreasing the number of re-tries, especially on objects managed by multiple controllers. The feature is opt-in and the current use of merge patch is still the default behavior. We introduce three controller options: - UseServerSideApplyForFinalizers used to enable that functionality. - FinalizerFieldManager to specify finalizer field manager, required when SSA is enabled. - ForceApplyFinalizers to set the force option on the apply patch (default disabled).
1 parent 874da3b commit 04fdd0b

File tree

45 files changed

+2741
-22
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+2741
-22
lines changed

client/injection/apiextensions/reconciler/apiextensions/v1/customresourcedefinition/controller.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/injection/apiextensions/reconciler/apiextensions/v1/customresourcedefinition/reconciler.go

Lines changed: 114 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/injection/apiextensions/reconciler/apiextensions/v1beta1/customresourcedefinition/controller.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/injection/apiextensions/reconciler/apiextensions/v1beta1/customresourcedefinition/reconciler.go

Lines changed: 114 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/injection/kube/reconciler/admissionregistration/v1/mutatingwebhookconfiguration/controller.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)