File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,14 @@ var (
111111// including all CRD resources.
112112NewManager = manager .New
113113
114+ // CreateOrPatch creates or patches the given object obj in the Kubernetes
115+ // cluster. The object's desired state should be reconciled with the existing
116+ // state using the passed in ReconcileFn. obj must be a struct pointer so that
117+ // obj can be patched with the content returned by the Server.
118+ //
119+ // It returns the executed operation and an error.
120+ CreateOrPatch = controllerutil .CreateOrPatch
121+
114122// CreateOrUpdate creates or updates the given object obj in the Kubernetes
115123// cluster. The object's desired state should be reconciled with the existing
116124// state using the passed in ReconcileFn. obj must be a struct pointer so that
You can’t perform that action at this time.
0 commit comments