Fail istioctl install on explicitly empty revision #26940
Labels
area/environments
area/user experience
feature/Multi-control-plane
issues related with multi-control-plane support in a cluster
Bug description
istioctl install fails to distinguish between unset revision and empty string revision. In both cases, an in-place upgrade is applied. This can cause problems when the user has a typo in their bash session such as:
In this case, the user expects a revision-based upgrade which poses no risk to the existing mesh, but because of their typo they get a destructive in-place upgrade. When the revision flag is supplied, but an invalid value is associated with it (such as empty string, not sure if other scenarios exist), the command should fail, not fall back to in-place upgrade. Users should have 100% certainty which sort of upgrade they are performing.
[ ] Docs
[ x ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ x ] User Experience
[ ] Developer Infrastructure
Expected behavior
Multi Control Plane upgrade fails.
Version (include the output of
istioctl version --remote
andkubectl version
andhelm version
if you used Helm)istio 1.6+
The text was updated successfully, but these errors were encountered: