From 26bba421508eaa55f18a1ef99987a88fc5393561 Mon Sep 17 00:00:00 2001 From: "plural-renovate[bot]" Date: Fri, 11 Nov 2022 12:01:31 +0000 Subject: [PATCH] Update github.com/kubeflow/kubeflow/components/admission-webhook digest to 0b229aa --- go.mod | 2 +- go.sum | 2 + .../settings/v1alpha1/poddefault_types.go | 9 ++++ .../v1alpha1/zz_generated.deepcopy.go | 53 ++++++++++++++++--- vendor/modules.txt | 2 +- 5 files changed, 59 insertions(+), 9 deletions(-) diff --git a/go.mod b/go.mod index bbe8c029..48826025 100644 --- a/go.mod +++ b/go.mod @@ -29,7 +29,7 @@ require ( require ( github.com/golang/protobuf v1.5.2 - github.com/kubeflow/kubeflow/components/admission-webhook v0.0.0-20220513185335-8be0d987f765 + github.com/kubeflow/kubeflow/components/admission-webhook v0.0.0-20221111113251-0b229aa57e54 google.golang.org/protobuf v1.28.0 ) diff --git a/go.sum b/go.sum index 09201cb0..ec8a7727 100644 --- a/go.sum +++ b/go.sum @@ -471,6 +471,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kubeflow/kubeflow/components/admission-webhook v0.0.0-20220513185335-8be0d987f765 h1:hGrR/wTxIpjkomoB8aLP58VQKlBwlBtKFxWqeYnZUFI= github.com/kubeflow/kubeflow/components/admission-webhook v0.0.0-20220513185335-8be0d987f765/go.mod h1:yaTBuOyCNfYq7XyaVNWh8HT++TMqPH7gBG+1YYGhGa0= +github.com/kubeflow/kubeflow/components/admission-webhook v0.0.0-20221111113251-0b229aa57e54 h1:xS2K5q4YBchYAVTAIBzA2u4LTwASTlZKgw7XTKQJJKM= +github.com/kubeflow/kubeflow/components/admission-webhook v0.0.0-20221111113251-0b229aa57e54/go.mod h1:gRr5J4F5SozZrtrnLdgT4M6BMgFB4qaxTSlgSgwPJxo= github.com/leodido/go-urn v1.2.0 h1:hpXL4XnriNwQ/ABnpepYM/1vCLWNDfUNts8dX3xTG6Y= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= github.com/lib/pq v1.10.3/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= diff --git a/vendor/github.com/kubeflow/kubeflow/components/admission-webhook/pkg/apis/settings/v1alpha1/poddefault_types.go b/vendor/github.com/kubeflow/kubeflow/components/admission-webhook/pkg/apis/settings/v1alpha1/poddefault_types.go index 26725f04..615abe19 100644 --- a/vendor/github.com/kubeflow/kubeflow/components/admission-webhook/pkg/apis/settings/v1alpha1/poddefault_types.go +++ b/vendor/github.com/kubeflow/kubeflow/components/admission-webhook/pkg/apis/settings/v1alpha1/poddefault_types.go @@ -69,6 +69,15 @@ type PodDefaultSpec struct { Labels map[string]string `json:"labels,omitempty"` Tolerations []v1.Toleration `json:"tolerations,omitempty"` + + // Entrypoint array. + Command []string `json:"command,omitempty" protobuf:"bytes,3,rep,name=command"` + + // Arguments to the entrypoint. + Args []string `json:"args,omitempty" protobuf:"bytes,4,rep,name=args"` + + // ImagePullSecrets defines the collection of ImagePullSecrets to inject into the Pod. + ImagePullSecrets []v1.LocalObjectReference `json:"imagePullSecrets,omitempty"` } // PodDefaultStatus defines the observed state of PodDefault diff --git a/vendor/github.com/kubeflow/kubeflow/components/admission-webhook/pkg/apis/settings/v1alpha1/zz_generated.deepcopy.go b/vendor/github.com/kubeflow/kubeflow/components/admission-webhook/pkg/apis/settings/v1alpha1/zz_generated.deepcopy.go index a259f62b..b382b4e2 100644 --- a/vendor/github.com/kubeflow/kubeflow/components/admission-webhook/pkg/apis/settings/v1alpha1/zz_generated.deepcopy.go +++ b/vendor/github.com/kubeflow/kubeflow/components/admission-webhook/pkg/apis/settings/v1alpha1/zz_generated.deepcopy.go @@ -1,3 +1,4 @@ +//go:build !ignore_autogenerated // +build !ignore_autogenerated /* @@ -14,12 +15,13 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ -// Code generated by main. DO NOT EDIT. + +// Code generated by controller-gen. DO NOT EDIT. package v1alpha1 import ( - v1 "k8s.io/api/core/v1" + "k8s.io/api/core/v1" runtime "k8s.io/apimachinery/pkg/runtime" ) @@ -30,7 +32,6 @@ func (in *PodDefault) DeepCopyInto(out *PodDefault) { in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) in.Spec.DeepCopyInto(&out.Spec) out.Status = in.Status - return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDefault. @@ -55,7 +56,7 @@ func (in *PodDefault) DeepCopyObject() runtime.Object { func (in *PodDefaultList) DeepCopyInto(out *PodDefaultList) { *out = *in out.TypeMeta = in.TypeMeta - out.ListMeta = in.ListMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items *out = make([]PodDefault, len(*in)) @@ -63,7 +64,6 @@ func (in *PodDefaultList) DeepCopyInto(out *PodDefaultList) { (*in)[i].DeepCopyInto(&(*out)[i]) } } - return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDefaultList. @@ -88,6 +88,11 @@ func (in *PodDefaultList) DeepCopyObject() runtime.Object { func (in *PodDefaultSpec) DeepCopyInto(out *PodDefaultSpec) { *out = *in in.Selector.DeepCopyInto(&out.Selector) + if in.AutomountServiceAccountToken != nil { + in, out := &in.AutomountServiceAccountToken, &out.AutomountServiceAccountToken + *out = new(bool) + **out = **in + } if in.Env != nil { in, out := &in.Env, &out.Env *out = make([]v1.EnvVar, len(*in)) @@ -116,7 +121,42 @@ func (in *PodDefaultSpec) DeepCopyInto(out *PodDefaultSpec) { (*in)[i].DeepCopyInto(&(*out)[i]) } } - return + if in.Annotations != nil { + in, out := &in.Annotations, &out.Annotations + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Labels != nil { + in, out := &in.Labels, &out.Labels + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + if in.Tolerations != nil { + in, out := &in.Tolerations, &out.Tolerations + *out = make([]v1.Toleration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Command != nil { + in, out := &in.Command, &out.Command + *out = make([]string, len(*in)) + copy(*out, *in) + } + if in.Args != nil { + in, out := &in.Args, &out.Args + *out = make([]string, len(*in)) + copy(*out, *in) + } + if in.ImagePullSecrets != nil { + in, out := &in.ImagePullSecrets, &out.ImagePullSecrets + *out = make([]v1.LocalObjectReference, len(*in)) + copy(*out, *in) + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDefaultSpec. @@ -132,7 +172,6 @@ func (in *PodDefaultSpec) DeepCopy() *PodDefaultSpec { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *PodDefaultStatus) DeepCopyInto(out *PodDefaultStatus) { *out = *in - return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDefaultStatus. diff --git a/vendor/modules.txt b/vendor/modules.txt index a5eb3fb2..7c7cbbd4 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -172,7 +172,7 @@ github.com/json-iterator/go # github.com/kr/text v0.2.0 ## explicit github.com/kr/text -# github.com/kubeflow/kubeflow/components/admission-webhook v0.0.0-20220513185335-8be0d987f765 +# github.com/kubeflow/kubeflow/components/admission-webhook v0.0.0-20221111113251-0b229aa57e54 ## explicit; go 1.17 github.com/kubeflow/kubeflow/components/admission-webhook/pkg/apis/settings/v1alpha1 # github.com/mattn/go-colorable v0.1.8