Applies the status of the given %Bonny.Axn{} struct to the status subresource.
Options
:forceand:field_manager- Options forwarded toK8s.Client.apply().:safe_mode- Whentrue, gracefully handles "NotFound" errors that occur when a resource is deleted during reconciliation. Instead of crashing, a warning is logged and reconciliation continues. Defaults to the value ofApplication.get_env(:bonny, :apply_status_safe_mode, false), falling back tofalsefor backwards compatibility. SeeBonny.Axn.safe_apply_status/2for details. Recommended to set totruein production to avoid crashes when resources are deleted while being reconciled.
Global configuration
You can set a default for safe_mode across all pipelines in your config:
config :bonny,
apply_status_safe_mode: truePer-step options always take precedence over the global config.
Examples
# Standard usage
step Bonny.Pluggable.ApplyStatus, field_manager: "MyOperator", force: true
# With safe mode enabled (recommended for production)
step Bonny.Pluggable.ApplyStatus, safe_mode: true, field_manager: "MyOperator"