fix: Block users submit updates when environment variable verification fails
Created by: weili520
Signed-off-by: TheYoungManLi cjl@kubesphere.io
What type of PR is this?
/kind bug
What this PR does / why we need it:
During creating a workload, if the user set environment variables for the container and validate failure, the user can't save it and enter the next step. Until then, we did not limit it.
Which issue(s) this PR fixes:
Part of the work of ##2431 (closed)
Special notes for reviewers:
Does this PR introduced a user-facing change?
Block users submit updates when environment variable verification fails