Invalid parameter “template” in edit mode of service
Created by: showjason
General remarks
This form is to report bugs. For general usage questions refer to our Slack channel KubeSphere-users
Describe the bug When I create a service, after filling the name and project, then switch to edit mode, a invalid parameter "template" appeared in the yaml panel, as below pic: Even though this service still can be created successfully through ks-console, if I copy or download it with yaml format and execute it by "kubectl", an error will be raised like below pic:
This phenomenon may caused by function reused, which will make the users who are not very familiar with kubernetes confused. Perhaps, this parameter "template" should be erased from the edit model of service.
Versions used(KubeSphere/Kubernetes) KubeSphere: v3.1.1 Kubernetes: v1.21.2
Environment How many nodes and their hardware configuration:
1 masters: 4cpu/16g 2 nodes: 8cpu/32g
To Reproduce Steps to reproduce the behavior:
Expected behavior