as default and changes the flux resource suspend behavior to only apply
the suspend reason annotation when a non-empty reason is provided.
Signed-off-by: Travis Mattera <travis@mattera.io>
accepts a reason for why the resource was suspended.
Defines the resource metadata annotation key that stores the reason for
the resource suspension.
Updates the suspend and resume resource patching to add or remove the
annotation holding the suspend reason.
Signed-off-by: Travis Mattera <travis@mattera.io>
The creation of oldConditions, statusableConditions and
reconcilableConditions is an adhoc solution to deal with the upstream
changes on `pkg/apis/meta`, which are yet to be replicated across other
Flux API components.
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>