mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 06:02:18 +00:00
Get rid of ServiceSpec.ProxyPort
As far as I know, nobody uses it. It was replaced by PublicIPs. If I were being very polite I would leave it in internal, but since I am 99.99% sure nobody uses it, I am cutting it. Let's argue about it.
This commit is contained in:
@@ -98,8 +98,6 @@ func (svcStrategy) NamespaceScoped() bool {
|
||||
// ResetBeforeCreate clears fields that are not allowed to be set by end users on creation.
|
||||
func (svcStrategy) ResetBeforeCreate(obj runtime.Object) {
|
||||
service := obj.(*api.Service)
|
||||
// TODO: Get rid of ProxyPort.
|
||||
service.Spec.ProxyPort = 0
|
||||
service.Status = api.ServiceStatus{}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user