The cluster information of 'system-workspace' error in metering and billing.
Created by: wenxin-01
Describe the bug Single cluster environment with multi-cluster function enabled, the cluster information of 'system-workspace' error in metering and billing.
Versions used(KubeSphere/Kubernetes)
KubeSphere: dev:latest
multi-cluster function enabled
Environment
Preset conditions
There is a user 'test' with global-role workspaces-manager
or workspaces-viewing
The environment is enabled multi-cluster function but only have one cluster 'host'
To Reproduce Steps to reproduce the behavior:
- Use user 'test' login ks
- Click on 'metering and billing'
Expected behavior Actual behavior
/kind bug /assign @harrisonliu5 /priority Medium /milestone 3.1.0 /area metering