Skip to content

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.

截屏2021-12-22 10 37 25

截屏2021-12-22 10 37 31

Does this PR introduced a user-facing change?

Update application routes failed for multi-cluster project

Additional documentation, usage docs, etc.:

合并请求报告

加载中