You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Objects which are instances of namespaced types will be placed into the namespace passed to Apply(), if they have no namespace defined in their manifest.
210
216
// An update of an existing object will be performed if it is considered to be out of sync; that means:
211
217
// - the object's manifest has changed, and the effective reconcile policy is ReconcilePolicyOnObjectChange or ReconcilePolicyOnObjectOrComponentChange or
212
-
// - the specified component revision has changed and the effective reconcile policy is ReconcilePolicyOnObjectOrComponentChange.
218
+
// - the specified component revision has changed and the effective reconcile policy is ReconcilePolicyOnObjectOrComponentChange or
219
+
// - periodically after forceReapplyPeriod.
213
220
//
214
221
// The update itself will be done as follows:
215
222
// - if the effective update policy is UpdatePolicyReplace, a http PUT request will be sent to the Kubernetes API
// and it might be re-applied/re-purged in case it runs out of sync. Within a wave, objects are processed following a certain internal order;
224
231
// in particular, instances of types which are part of the wave are processed only if all other objects in that wave have a ready state.
225
232
//
226
-
// Redundant objects will be removed; that means, a http DELETE request will be sent to the Kubernetes API; note that an effective Orphan deletion
227
-
// policy will not prevent deletion here; the deletion policy will only be honored when the component as whole gets deleted.
233
+
// Redundant objects will be removed; that means, a http DELETE request will be sent to the Kubernetes API.
228
234
//
229
235
// This method will change the passed inventory (add or remove elements, change elements). If Apply() returns true, then all objects are successfully reconciled;
230
-
// otherwise, if it returns false, the caller should recall it timely, until it returns true. In any case, the passed inventory should match the state of the
236
+
// otherwise, if it returns false, the caller should re-call it periodically, until it returns true. In any case, the passed inventory should match the state of the
231
237
// inventory after the previous invocation of Apply(); usually, the caller saves the inventory after calling Apply(), and loads it before calling Apply().
232
238
// The namespace and ownerId arguments should not be changed across subsequent invocations of Apply(); the componentRevision should be incremented only.
0 commit comments