Inspect before and after specs to determine actions.
If the action is "delete", return delete actions for all specs in
before
that do not have an ignore annotation for the current SDM,
as the "delete" action implies there are no after
specs.
If the action is "apply", return apply actions for all specs in
after
and delete actions for all specs in before
that are not
in after
that do not have an ignore annotation for the current
SDM. If a before
spec contains a sync ignore annotation for the
current SDM and the after
annotation does not, the after
spec
with an "apply" action is included in the returned changes. If an
after
spec contains a sync ignore annotation for the current SDM,
then it is omitted from the returned changes, regardless of whether
it appears in the before
specs or not.
The specs before the change
The specs after the change
The type of change
Array containing the type of change for each spec
Returned array of specs with those that should be ignored filtered out.
Array of specs to check
Array of not ignored specs.
Check if the Kubernetes Object has an annotation that is relevant to the current SDM
the spec to inspect
the key to validate for
the value validate for
the result of the annotation inspection
Generated using TypeDoc
Whether a spec should be applied or deleted.