fix: Can't update volume for deloyment
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:
At before, we can't switch the type of mounted volume for deolyment, because the update volume didn't be removed from the deloyment spec.
Which issue(s) this PR fixes:
Fixes ##2467 (closed),##2505,##2345 (closed)
Special notes for reviewers:
Does this PR introduced a user-facing change?
Update volume info for deolyment failed.
Additional documentation, usage docs, etc.: