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
However it will exit with status 0. Imo this is wrong because if we remove the --dry-run and the object doesn't have the action.timoni.sh/force annotation, the apply will fail.
I propose we show an ERR and exit with an error status (maybe 2 to identify immutable error versus runtime error) if force arg is not used and action.timoni.sh/force is not set on that resource.
If force or action.timoni.sh/force is present, then we can set a WARN or something like this and exit 0.
The text was updated successfully, but these errors were encountered:
Currently a dry-run without a force will display something like that for immutable resources
However it will exit with status 0. Imo this is wrong because if we remove the
--dry-run
and the object doesn't have theaction.timoni.sh/force
annotation, the apply will fail.I propose we show an ERR and exit with an error status (maybe 2 to identify immutable error versus runtime error) if
force
arg is not used andaction.timoni.sh/force
is not set on that resource.If
force
oraction.timoni.sh/force
is present, then we can set aWARN
or something like this and exit 0.The text was updated successfully, but these errors were encountered: