From 55f8f3ffa251941a275c5787b43c43fd4dc1e93c Mon Sep 17 00:00:00 2001 From: Antonio Ojea Date: Tue, 10 Oct 2023 11:01:56 +0000 Subject: [PATCH] make update Change-Id: I61be34cff942264acb2f45fe7e1c8538f807cb4e Kubernetes-commit: e9957d79aae244d3a956d9f7634ad45a9a3364b4 --- applyconfigurations/internal/internal.go | 3 --- .../networking/v1alpha1/parentreference.go | 21 ++++--------------- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/applyconfigurations/internal/internal.go b/applyconfigurations/internal/internal.go index b05d08a4..1fcbac1d 100644 --- a/applyconfigurations/internal/internal.go +++ b/applyconfigurations/internal/internal.go @@ -10325,9 +10325,6 @@ var schemaYAML = typed.YAMLObject(`types: - name: resource type: scalar: string - - name: uid - type: - scalar: string - name: io.k8s.api.networking.v1beta1.HTTPIngressPath map: fields: diff --git a/applyconfigurations/networking/v1alpha1/parentreference.go b/applyconfigurations/networking/v1alpha1/parentreference.go index 14b10b19..ce104970 100644 --- a/applyconfigurations/networking/v1alpha1/parentreference.go +++ b/applyconfigurations/networking/v1alpha1/parentreference.go @@ -18,18 +18,13 @@ limitations under the License. package v1alpha1 -import ( - types "k8s.io/apimachinery/pkg/types" -) - // ParentReferenceApplyConfiguration represents an declarative configuration of the ParentReference type for use // with apply. type ParentReferenceApplyConfiguration struct { - Group *string `json:"group,omitempty"` - Resource *string `json:"resource,omitempty"` - Namespace *string `json:"namespace,omitempty"` - Name *string `json:"name,omitempty"` - UID *types.UID `json:"uid,omitempty"` + Group *string `json:"group,omitempty"` + Resource *string `json:"resource,omitempty"` + Namespace *string `json:"namespace,omitempty"` + Name *string `json:"name,omitempty"` } // ParentReferenceApplyConfiguration constructs an declarative configuration of the ParentReference type for use with @@ -69,11 +64,3 @@ func (b *ParentReferenceApplyConfiguration) WithName(value string) *ParentRefere b.Name = &value return b } - -// WithUID sets the UID 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 UID field is set to the value of the last call. -func (b *ParentReferenceApplyConfiguration) WithUID(value types.UID) *ParentReferenceApplyConfiguration { - b.UID = &value - return b -}