Skip to content

Commit

Permalink
polish a sentence about ssa
Browse files Browse the repository at this point in the history
  • Loading branch information
jlarfors committed Mar 14, 2024
1 parent 9a764d7 commit 79f821f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/serversideapply.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The answer: a server-side patching strategy that keeps track of which entity man
## Manager and Managed Fields

When an object is applied, the `store` (server-side) requires a "manager" (string name) and will calculate the fields that this manager manages.
When an object is applied, the `store` (server-side) requires a "manager" (string name) and will calculate the fields that this manager manages based on the object payload.

The computed managed fields are stored along with the object in the `.metadata.managedFields` field.

Expand All @@ -43,7 +43,7 @@ The returned object will include the entire object (all the fields, including th
The reconciler will want to modify some fields and apply the object back to the store, such as updating the `.status` field.
The object which the reconcilier applies should only include the fields which the reconciler should manage.

So, how do we "extract" the managed fields from object, so that we can mutate it and apply it back afterwards? Using the `hz.ExtractManagedFields(...)` function.
So, how do we "extract" the managed fields from an object, so that we can mutate it and apply it back afterwards? Using the `hz.ExtractManagedFields(...)` function.

A typical reconcile loop will look like this:

Expand Down

0 comments on commit 79f821f

Please sign in to comment.