Wrong data shown under Access Type on the Edit Service page
Created by: serenashe
Describe the bug The Access Type shown on the Edit Service page is not in accordance with the one on the basic info page. The Service Type and Access Type are supposed to be the same.
Versions used(KubeSphere/Kubernetes) KubeSphere: v3.1.0
Environment Single-node cluster (8 CPU cores/16 G) in SH1
To Reproduce Steps to reproduce the behavior:
- Go to Cluster Management > Application Workloads > Services.
- On the Services basic information page, click Edit Service on the right of a Headless Service.
- On the Edit Service page, the Access Type shows Virtual IP, but it is supposed to be Headless.
Expected behavior The Access Type is supposed to be Headless.
I am not sure whether it is the frontend displaying the wrong data or it is about the backend API, but please take a look, thanks!