diff --git a/applyconfigurations/core/v1/loadbalanceringress.go b/applyconfigurations/core/v1/loadbalanceringress.go index a48dac681..64d27bdad 100644 --- a/applyconfigurations/core/v1/loadbalanceringress.go +++ b/applyconfigurations/core/v1/loadbalanceringress.go @@ -18,16 +18,11 @@ limitations under the License. package v1 -import ( - v1 "k8s.io/api/core/v1" -) - // LoadBalancerIngressApplyConfiguration represents an declarative configuration of the LoadBalancerIngress type for use // with apply. type LoadBalancerIngressApplyConfiguration struct { IP *string `json:"ip,omitempty"` Hostname *string `json:"hostname,omitempty"` - IPMode *v1.LoadBalancerIPMode `json:"ipMode,omitempty"` Ports []PortStatusApplyConfiguration `json:"ports,omitempty"` } @@ -53,14 +48,6 @@ func (b *LoadBalancerIngressApplyConfiguration) WithHostname(value string) *Load return b } -// WithIPMode sets the IPMode field in the declarative configuration to the given value -// and returns the receiver, so that objects can be built by chaining "With" function invocations. -// If called multiple times, the IPMode field is set to the value of the last call. -func (b *LoadBalancerIngressApplyConfiguration) WithIPMode(value v1.LoadBalancerIPMode) *LoadBalancerIngressApplyConfiguration { - b.IPMode = &value - return b -} - // WithPorts adds the given value to the Ports field in the declarative configuration // and returns the receiver, so that objects can be build by chaining "With" function invocations. // If called multiple times, values provided by each call will be appended to the Ports field. diff --git a/applyconfigurations/internal/internal.go b/applyconfigurations/internal/internal.go index 337dec8c2..3ed553662 100644 --- a/applyconfigurations/internal/internal.go +++ b/applyconfigurations/internal/internal.go @@ -5567,9 +5567,6 @@ var schemaYAML = typed.YAMLObject(`types: - name: ip type: scalar: string - - name: ipMode - type: - scalar: string - name: ports type: list: diff --git a/go.mod b/go.mod index e2248f771..2242a8f0f 100644 --- a/go.mod +++ b/go.mod @@ -23,7 +23,7 @@ require ( golang.org/x/term v0.10.0 golang.org/x/time v0.3.0 google.golang.org/protobuf v1.30.0 - k8s.io/api v0.0.0-20230807203228-9ab79eae448c + k8s.io/api v0.0.0-20230810043511-ac599493ec9f k8s.io/apimachinery v0.0.0-20230807201834-4b14f804a0ba k8s.io/klog/v2 v2.100.1 k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 @@ -60,6 +60,6 @@ require ( ) replace ( - k8s.io/api => k8s.io/api v0.0.0-20230807203228-9ab79eae448c + k8s.io/api => k8s.io/api v0.0.0-20230810043511-ac599493ec9f k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20230807201834-4b14f804a0ba ) diff --git a/go.sum b/go.sum index 7ff64f992..16204d5a3 100644 --- a/go.sum +++ b/go.sum @@ -146,8 +146,8 @@ gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -k8s.io/api v0.0.0-20230807203228-9ab79eae448c h1:E+jFr194rFrWTK9209MlCLuRGovXjqWtirFiUeJUutA= -k8s.io/api v0.0.0-20230807203228-9ab79eae448c/go.mod h1:QGL40BliXvUNDczpIQMGfQgote0zzKfOOUdO3bAV9j0= +k8s.io/api v0.0.0-20230810043511-ac599493ec9f h1:FKct7GhTmcFdZ2BlZckmXmqcZ9+7YzA+V9FsdIMUYnw= +k8s.io/api v0.0.0-20230810043511-ac599493ec9f/go.mod h1:QGL40BliXvUNDczpIQMGfQgote0zzKfOOUdO3bAV9j0= k8s.io/apimachinery v0.0.0-20230807201834-4b14f804a0ba h1:hm5tfwSEPx02v3nrxlMJ0zl1/aoppw537sDgbYGiAb8= k8s.io/apimachinery v0.0.0-20230807201834-4b14f804a0ba/go.mod h1:X0xh/chESs2hP9koe+SdIAcXWcQ+RM5hy0ZynB+yEvw= k8s.io/klog/v2 v2.100.1 h1:7WCHKK6K8fNhTqfBhISHQ97KrnJNFZMcQvKp7gP/tmg=