fix: Update application routes failed for multi-cluster project
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:
The failed reason is the spec.placement.cluster
fields should include all clusters are mentioned in the spec.template.spec
fields, otherwise, the update will fail.
Which issue(s) this PR fixes:
Fixes ##2855 (closed)
Special notes for reviewers:
I create a route, includes Rohan and Shire two clusters, it works well.
Does this PR introduced a user-facing change?
Update application routes failed for multi-cluster project