diff --git a/LICENSES b/LICENSES index cbac05b9bd9..4ba6bac90da 100644 --- a/LICENSES +++ b/LICENSES @@ -155,8 +155,8 @@ k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json,https://git k8s.io/kube-openapi/pkg/validation/errors,https://github.com/kubernetes/kube-openapi/blob/54b630e78af5/pkg/validation/errors/LICENSE,Apache-2.0 k8s.io/kube-openapi/pkg/validation/spec,https://github.com/kubernetes/kube-openapi/blob/54b630e78af5/pkg/validation/spec/LICENSE,Apache-2.0 k8s.io/kube-openapi/pkg/validation/strfmt,https://github.com/kubernetes/kube-openapi/blob/54b630e78af5/pkg/validation/strfmt/LICENSE,Apache-2.0 -k8s.io/utils,https://github.com/kubernetes/utils/blob/30195339c3c7/LICENSE,Apache-2.0 -k8s.io/utils/internal/third_party/forked/golang,https://github.com/kubernetes/utils/blob/30195339c3c7/internal/third_party/forked/golang/LICENSE,BSD-3-Clause +k8s.io/utils,https://github.com/kubernetes/utils/blob/3b25d923346b/LICENSE,Apache-2.0 +k8s.io/utils/internal/third_party/forked/golang,https://github.com/kubernetes/utils/blob/3b25d923346b/internal/third_party/forked/golang/LICENSE,BSD-3-Clause sigs.k8s.io/apiserver-network-proxy/konnectivity-client,https://github.com/kubernetes-sigs/apiserver-network-proxy/blob/konnectivity-client/v0.1.2/konnectivity-client/LICENSE,Apache-2.0 sigs.k8s.io/controller-runtime,https://github.com/kubernetes-sigs/controller-runtime/blob/v0.15.0/LICENSE,Apache-2.0 sigs.k8s.io/gateway-api,https://github.com/kubernetes-sigs/gateway-api/blob/v0.7.1/LICENSE,Apache-2.0 diff --git a/cmd/acmesolver/LICENSES b/cmd/acmesolver/LICENSES index 6c86eed8a42..c3f2344181a 100644 --- a/cmd/acmesolver/LICENSES +++ b/cmd/acmesolver/LICENSES @@ -36,8 +36,8 @@ k8s.io/client-go/kubernetes/scheme,https://github.com/kubernetes/client-go/blob/ k8s.io/component-base,https://github.com/kubernetes/component-base/blob/v0.27.4/LICENSE,Apache-2.0 k8s.io/klog/v2,https://github.com/kubernetes/klog/blob/v2.100.1/LICENSE,Apache-2.0 k8s.io/kube-aggregator/pkg/apis/apiregistration,https://github.com/kubernetes/kube-aggregator/blob/v0.27.4/LICENSE,Apache-2.0 -k8s.io/utils,https://github.com/kubernetes/utils/blob/30195339c3c7/LICENSE,Apache-2.0 -k8s.io/utils/internal/third_party/forked/golang/net,https://github.com/kubernetes/utils/blob/30195339c3c7/internal/third_party/forked/golang/LICENSE,BSD-3-Clause +k8s.io/utils,https://github.com/kubernetes/utils/blob/3b25d923346b/LICENSE,Apache-2.0 +k8s.io/utils/internal/third_party/forked/golang/net,https://github.com/kubernetes/utils/blob/3b25d923346b/internal/third_party/forked/golang/LICENSE,BSD-3-Clause sigs.k8s.io/gateway-api/apis/v1beta1,https://github.com/kubernetes-sigs/gateway-api/blob/v0.7.1/LICENSE,Apache-2.0 sigs.k8s.io/json,https://github.com/kubernetes-sigs/json/blob/bc3834ca7abd/LICENSE,Apache-2.0 sigs.k8s.io/structured-merge-diff/v4/value,https://github.com/kubernetes-sigs/structured-merge-diff/blob/v4.3.0/LICENSE,Apache-2.0 diff --git a/cmd/acmesolver/go.mod b/cmd/acmesolver/go.mod index 7154518b907..fcd76fcbb66 100644 --- a/cmd/acmesolver/go.mod +++ b/cmd/acmesolver/go.mod @@ -48,7 +48,7 @@ require ( k8s.io/client-go v0.27.4 // indirect k8s.io/klog/v2 v2.100.1 // indirect k8s.io/kube-aggregator v0.27.4 // indirect - k8s.io/utils v0.0.0-20230711102312-30195339c3c7 // indirect + k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect sigs.k8s.io/gateway-api v0.7.1 // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect sigs.k8s.io/structured-merge-diff/v4 v4.3.0 // indirect diff --git a/cmd/acmesolver/go.sum b/cmd/acmesolver/go.sum index 11df3b64b71..236fde0df2f 100644 --- a/cmd/acmesolver/go.sum +++ b/cmd/acmesolver/go.sum @@ -155,8 +155,8 @@ k8s.io/klog/v2 v2.100.1 h1:7WCHKK6K8fNhTqfBhISHQ97KrnJNFZMcQvKp7gP/tmg= k8s.io/klog/v2 v2.100.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= k8s.io/kube-aggregator v0.27.4 h1:WdK9iiBr32G8bWfpUEFVQl70RZO2dU19ZAktUXL5JFc= k8s.io/kube-aggregator v0.27.4/go.mod h1:+eG83gkAyh0uilQEAOgheeQW4hr+PkyV+5O1nLGsjlM= -k8s.io/utils v0.0.0-20230711102312-30195339c3c7 h1:ZgnF1KZsYxWIifwSNZFZgNtWE89WI5yiP5WwlfDoIyc= -k8s.io/utils v0.0.0-20230711102312-30195339c3c7/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= +k8s.io/utils v0.0.0-20230726121419-3b25d923346b h1:sgn3ZU783SCgtaSJjpcVVlRqd6GSnlTLKgpAAttJvpI= +k8s.io/utils v0.0.0-20230726121419-3b25d923346b/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= sigs.k8s.io/gateway-api v0.7.1 h1:Tts2jeepVkPA5rVG/iO+S43s9n7Vp7jCDhZDQYtPigQ= sigs.k8s.io/gateway-api v0.7.1/go.mod h1:Xv0+ZMxX0lu1nSSDIIPEfbVztgNZ+3cfiYrJsa2Ooso= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo= diff --git a/cmd/cainjector/LICENSES b/cmd/cainjector/LICENSES index f110b66fd80..b061c0521c2 100644 --- a/cmd/cainjector/LICENSES +++ b/cmd/cainjector/LICENSES @@ -61,8 +61,8 @@ k8s.io/kube-aggregator/pkg/apis/apiregistration,https://github.com/kubernetes/ku k8s.io/kube-openapi/pkg,https://github.com/kubernetes/kube-openapi/blob/54b630e78af5/LICENSE,Apache-2.0 k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json,https://github.com/kubernetes/kube-openapi/blob/54b630e78af5/pkg/internal/third_party/go-json-experiment/json/LICENSE,BSD-3-Clause k8s.io/kube-openapi/pkg/validation/spec,https://github.com/kubernetes/kube-openapi/blob/54b630e78af5/pkg/validation/spec/LICENSE,Apache-2.0 -k8s.io/utils,https://github.com/kubernetes/utils/blob/30195339c3c7/LICENSE,Apache-2.0 -k8s.io/utils/internal/third_party/forked/golang/net,https://github.com/kubernetes/utils/blob/30195339c3c7/internal/third_party/forked/golang/LICENSE,BSD-3-Clause +k8s.io/utils,https://github.com/kubernetes/utils/blob/3b25d923346b/LICENSE,Apache-2.0 +k8s.io/utils/internal/third_party/forked/golang/net,https://github.com/kubernetes/utils/blob/3b25d923346b/internal/third_party/forked/golang/LICENSE,BSD-3-Clause sigs.k8s.io/controller-runtime,https://github.com/kubernetes-sigs/controller-runtime/blob/v0.15.0/LICENSE,Apache-2.0 sigs.k8s.io/gateway-api/apis/v1beta1,https://github.com/kubernetes-sigs/gateway-api/blob/v0.7.1/LICENSE,Apache-2.0 sigs.k8s.io/json,https://github.com/kubernetes-sigs/json/blob/bc3834ca7abd/LICENSE,Apache-2.0 diff --git a/cmd/cainjector/go.mod b/cmd/cainjector/go.mod index 7f88e3d62ec..4210975e86b 100644 --- a/cmd/cainjector/go.mod +++ b/cmd/cainjector/go.mod @@ -73,7 +73,7 @@ require ( k8s.io/klog/v2 v2.100.1 // indirect k8s.io/kube-aggregator v0.27.4 // indirect k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f // indirect - k8s.io/utils v0.0.0-20230711102312-30195339c3c7 // indirect + k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect sigs.k8s.io/gateway-api v0.7.1 // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect sigs.k8s.io/structured-merge-diff/v4 v4.3.0 // indirect diff --git a/cmd/cainjector/go.sum b/cmd/cainjector/go.sum index 56332f42307..d43fcf8f923 100644 --- a/cmd/cainjector/go.sum +++ b/cmd/cainjector/go.sum @@ -316,8 +316,8 @@ k8s.io/kube-aggregator v0.27.4 h1:WdK9iiBr32G8bWfpUEFVQl70RZO2dU19ZAktUXL5JFc= k8s.io/kube-aggregator v0.27.4/go.mod h1:+eG83gkAyh0uilQEAOgheeQW4hr+PkyV+5O1nLGsjlM= k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f h1:2kWPakN3i/k81b0gvD5C5FJ2kxm1WrQFanWchyKuqGg= k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f/go.mod h1:byini6yhqGC14c3ebc/QwanvYwhuMWF6yz2F8uwW8eg= -k8s.io/utils v0.0.0-20230711102312-30195339c3c7 h1:ZgnF1KZsYxWIifwSNZFZgNtWE89WI5yiP5WwlfDoIyc= -k8s.io/utils v0.0.0-20230711102312-30195339c3c7/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= +k8s.io/utils v0.0.0-20230726121419-3b25d923346b h1:sgn3ZU783SCgtaSJjpcVVlRqd6GSnlTLKgpAAttJvpI= +k8s.io/utils v0.0.0-20230726121419-3b25d923346b/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= sigs.k8s.io/controller-runtime v0.15.0 h1:ML+5Adt3qZnMSYxZ7gAverBLNPSMQEibtzAgp0UPojU= sigs.k8s.io/controller-runtime v0.15.0/go.mod h1:7ngYvp1MLT+9GeZ+6lH3LOlcHkp/+tzA/fmHa4iq9kk= sigs.k8s.io/gateway-api v0.7.1 h1:Tts2jeepVkPA5rVG/iO+S43s9n7Vp7jCDhZDQYtPigQ= diff --git a/cmd/controller/LICENSES b/cmd/controller/LICENSES index 897fbb35dcc..44ef2d6d363 100644 --- a/cmd/controller/LICENSES +++ b/cmd/controller/LICENSES @@ -142,8 +142,8 @@ k8s.io/kube-aggregator/pkg/apis/apiregistration,https://github.com/kubernetes/ku k8s.io/kube-openapi/pkg,https://github.com/kubernetes/kube-openapi/blob/54b630e78af5/LICENSE,Apache-2.0 k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json,https://github.com/kubernetes/kube-openapi/blob/54b630e78af5/pkg/internal/third_party/go-json-experiment/json/LICENSE,BSD-3-Clause k8s.io/kube-openapi/pkg/validation/spec,https://github.com/kubernetes/kube-openapi/blob/54b630e78af5/pkg/validation/spec/LICENSE,Apache-2.0 -k8s.io/utils,https://github.com/kubernetes/utils/blob/30195339c3c7/LICENSE,Apache-2.0 -k8s.io/utils/internal/third_party/forked/golang/net,https://github.com/kubernetes/utils/blob/30195339c3c7/internal/third_party/forked/golang/LICENSE,BSD-3-Clause +k8s.io/utils,https://github.com/kubernetes/utils/blob/3b25d923346b/LICENSE,Apache-2.0 +k8s.io/utils/internal/third_party/forked/golang/net,https://github.com/kubernetes/utils/blob/3b25d923346b/internal/third_party/forked/golang/LICENSE,BSD-3-Clause sigs.k8s.io/apiserver-network-proxy/konnectivity-client,https://github.com/kubernetes-sigs/apiserver-network-proxy/blob/konnectivity-client/v0.1.2/konnectivity-client/LICENSE,Apache-2.0 sigs.k8s.io/gateway-api,https://github.com/kubernetes-sigs/gateway-api/blob/v0.7.1/LICENSE,Apache-2.0 sigs.k8s.io/json,https://github.com/kubernetes-sigs/json/blob/bc3834ca7abd/LICENSE,Apache-2.0 diff --git a/cmd/controller/go.mod b/cmd/controller/go.mod index 65558bc6c08..044ed2d9754 100644 --- a/cmd/controller/go.mod +++ b/cmd/controller/go.mod @@ -16,7 +16,7 @@ require ( k8s.io/apimachinery v0.27.4 k8s.io/client-go v0.27.4 k8s.io/component-base v0.27.4 - k8s.io/utils v0.0.0-20230711102312-30195339c3c7 + k8s.io/utils v0.0.0-20230726121419-3b25d923346b ) require ( diff --git a/cmd/controller/go.sum b/cmd/controller/go.sum index 1553c48ee92..f798563de6c 100644 --- a/cmd/controller/go.sum +++ b/cmd/controller/go.sum @@ -936,8 +936,8 @@ k8s.io/kube-aggregator v0.27.4 h1:WdK9iiBr32G8bWfpUEFVQl70RZO2dU19ZAktUXL5JFc= k8s.io/kube-aggregator v0.27.4/go.mod h1:+eG83gkAyh0uilQEAOgheeQW4hr+PkyV+5O1nLGsjlM= k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f h1:2kWPakN3i/k81b0gvD5C5FJ2kxm1WrQFanWchyKuqGg= k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f/go.mod h1:byini6yhqGC14c3ebc/QwanvYwhuMWF6yz2F8uwW8eg= -k8s.io/utils v0.0.0-20230711102312-30195339c3c7 h1:ZgnF1KZsYxWIifwSNZFZgNtWE89WI5yiP5WwlfDoIyc= -k8s.io/utils v0.0.0-20230711102312-30195339c3c7/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= +k8s.io/utils v0.0.0-20230726121419-3b25d923346b h1:sgn3ZU783SCgtaSJjpcVVlRqd6GSnlTLKgpAAttJvpI= +k8s.io/utils v0.0.0-20230726121419-3b25d923346b/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/cmd/ctl/LICENSES b/cmd/ctl/LICENSES index 0cccb33efdc..af276f90002 100644 --- a/cmd/ctl/LICENSES +++ b/cmd/ctl/LICENSES @@ -140,8 +140,8 @@ k8s.io/kube-openapi/pkg,https://github.com/kubernetes/kube-openapi/blob/54b630e7 k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json,https://github.com/kubernetes/kube-openapi/blob/54b630e78af5/pkg/internal/third_party/go-json-experiment/json/LICENSE,BSD-3-Clause k8s.io/kube-openapi/pkg/validation/spec,https://github.com/kubernetes/kube-openapi/blob/54b630e78af5/pkg/validation/spec/LICENSE,Apache-2.0 k8s.io/kubectl/pkg,https://github.com/kubernetes/kubectl/blob/v0.27.4/LICENSE,Apache-2.0 -k8s.io/utils,https://github.com/kubernetes/utils/blob/30195339c3c7/LICENSE,Apache-2.0 -k8s.io/utils/internal/third_party/forked/golang/net,https://github.com/kubernetes/utils/blob/30195339c3c7/internal/third_party/forked/golang/LICENSE,BSD-3-Clause +k8s.io/utils,https://github.com/kubernetes/utils/blob/3b25d923346b/LICENSE,Apache-2.0 +k8s.io/utils/internal/third_party/forked/golang/net,https://github.com/kubernetes/utils/blob/3b25d923346b/internal/third_party/forked/golang/LICENSE,BSD-3-Clause oras.land/oras-go/pkg,https://github.com/oras-project/oras-go/blob/v1.2.2/LICENSE,Apache-2.0 sigs.k8s.io/controller-runtime/pkg,https://github.com/kubernetes-sigs/controller-runtime/blob/v0.15.0/LICENSE,Apache-2.0 sigs.k8s.io/gateway-api/apis/v1beta1,https://github.com/kubernetes-sigs/gateway-api/blob/v0.7.1/LICENSE,Apache-2.0 diff --git a/cmd/webhook/LICENSES b/cmd/webhook/LICENSES index 886f368d90a..54d05463f95 100644 --- a/cmd/webhook/LICENSES +++ b/cmd/webhook/LICENSES @@ -78,8 +78,8 @@ k8s.io/kube-aggregator/pkg/apis/apiregistration,https://github.com/kubernetes/ku k8s.io/kube-openapi/pkg,https://github.com/kubernetes/kube-openapi/blob/54b630e78af5/LICENSE,Apache-2.0 k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json,https://github.com/kubernetes/kube-openapi/blob/54b630e78af5/pkg/internal/third_party/go-json-experiment/json/LICENSE,BSD-3-Clause k8s.io/kube-openapi/pkg/validation/spec,https://github.com/kubernetes/kube-openapi/blob/54b630e78af5/pkg/validation/spec/LICENSE,Apache-2.0 -k8s.io/utils,https://github.com/kubernetes/utils/blob/30195339c3c7/LICENSE,Apache-2.0 -k8s.io/utils/internal/third_party/forked/golang,https://github.com/kubernetes/utils/blob/30195339c3c7/internal/third_party/forked/golang/LICENSE,BSD-3-Clause +k8s.io/utils,https://github.com/kubernetes/utils/blob/3b25d923346b/LICENSE,Apache-2.0 +k8s.io/utils/internal/third_party/forked/golang,https://github.com/kubernetes/utils/blob/3b25d923346b/internal/third_party/forked/golang/LICENSE,BSD-3-Clause sigs.k8s.io/apiserver-network-proxy/konnectivity-client,https://github.com/kubernetes-sigs/apiserver-network-proxy/blob/konnectivity-client/v0.1.2/konnectivity-client/LICENSE,Apache-2.0 sigs.k8s.io/gateway-api/apis/v1beta1,https://github.com/kubernetes-sigs/gateway-api/blob/v0.7.1/LICENSE,Apache-2.0 sigs.k8s.io/json,https://github.com/kubernetes-sigs/json/blob/bc3834ca7abd/LICENSE,Apache-2.0 diff --git a/cmd/webhook/go.mod b/cmd/webhook/go.mod index 1996cf7e8c0..b2888608433 100644 --- a/cmd/webhook/go.mod +++ b/cmd/webhook/go.mod @@ -89,7 +89,7 @@ require ( k8s.io/klog/v2 v2.100.1 // indirect k8s.io/kube-aggregator v0.27.4 // indirect k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f // indirect - k8s.io/utils v0.0.0-20230711102312-30195339c3c7 // indirect + k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.1.2 // indirect sigs.k8s.io/gateway-api v0.7.1 // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect diff --git a/cmd/webhook/go.sum b/cmd/webhook/go.sum index f93a29ce0bf..056e12d5275 100644 --- a/cmd/webhook/go.sum +++ b/cmd/webhook/go.sum @@ -614,8 +614,8 @@ k8s.io/kube-aggregator v0.27.4 h1:WdK9iiBr32G8bWfpUEFVQl70RZO2dU19ZAktUXL5JFc= k8s.io/kube-aggregator v0.27.4/go.mod h1:+eG83gkAyh0uilQEAOgheeQW4hr+PkyV+5O1nLGsjlM= k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f h1:2kWPakN3i/k81b0gvD5C5FJ2kxm1WrQFanWchyKuqGg= k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f/go.mod h1:byini6yhqGC14c3ebc/QwanvYwhuMWF6yz2F8uwW8eg= -k8s.io/utils v0.0.0-20230711102312-30195339c3c7 h1:ZgnF1KZsYxWIifwSNZFZgNtWE89WI5yiP5WwlfDoIyc= -k8s.io/utils v0.0.0-20230711102312-30195339c3c7/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= +k8s.io/utils v0.0.0-20230726121419-3b25d923346b h1:sgn3ZU783SCgtaSJjpcVVlRqd6GSnlTLKgpAAttJvpI= +k8s.io/utils v0.0.0-20230726121419-3b25d923346b/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/go.mod b/go.mod index 515582b86c4..a7a98bf6589 100644 --- a/go.mod +++ b/go.mod @@ -47,7 +47,7 @@ require ( k8s.io/klog/v2 v2.100.1 k8s.io/kube-aggregator v0.27.4 k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f - k8s.io/utils v0.0.0-20230711102312-30195339c3c7 + k8s.io/utils v0.0.0-20230726121419-3b25d923346b sigs.k8s.io/controller-runtime v0.15.0 sigs.k8s.io/controller-tools v0.12.1 sigs.k8s.io/gateway-api v0.7.1 diff --git a/go.sum b/go.sum index 3792e4bc76a..c428da31fca 100644 --- a/go.sum +++ b/go.sum @@ -989,8 +989,8 @@ k8s.io/kube-aggregator v0.27.4 h1:WdK9iiBr32G8bWfpUEFVQl70RZO2dU19ZAktUXL5JFc= k8s.io/kube-aggregator v0.27.4/go.mod h1:+eG83gkAyh0uilQEAOgheeQW4hr+PkyV+5O1nLGsjlM= k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f h1:2kWPakN3i/k81b0gvD5C5FJ2kxm1WrQFanWchyKuqGg= k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f/go.mod h1:byini6yhqGC14c3ebc/QwanvYwhuMWF6yz2F8uwW8eg= -k8s.io/utils v0.0.0-20230711102312-30195339c3c7 h1:ZgnF1KZsYxWIifwSNZFZgNtWE89WI5yiP5WwlfDoIyc= -k8s.io/utils v0.0.0-20230711102312-30195339c3c7/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= +k8s.io/utils v0.0.0-20230726121419-3b25d923346b h1:sgn3ZU783SCgtaSJjpcVVlRqd6GSnlTLKgpAAttJvpI= +k8s.io/utils v0.0.0-20230726121419-3b25d923346b/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/internal/apis/config/controller/fuzzer/fuzzer.go b/internal/apis/config/controller/fuzzer/fuzzer.go index 4670c7c6116..bc79e7d59c1 100644 --- a/internal/apis/config/controller/fuzzer/fuzzer.go +++ b/internal/apis/config/controller/fuzzer/fuzzer.go @@ -17,11 +17,11 @@ limitations under the License. package fuzzer import ( + "time" + fuzz "github.com/google/gofuzz" runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer" - "k8s.io/component-base/logs" - - "time" + logsapi "k8s.io/component-base/logs/api/v1" "github.com/cert-manager/cert-manager/internal/apis/config/controller" ) @@ -33,46 +33,87 @@ var Funcs = func(codecs runtimeserializer.CodecFactory) []interface{} { func(s *controller.ControllerConfiguration, c fuzz.Continue) { c.FuzzNoCustom(s) // fuzz self without calling this function again - defaultTime := 60 * time.Second - s.APIServerHost = "defaultHost" - s.KubeConfig = "defaultConfig" - s.KubernetesAPIQPS = 10 - s.KubernetesAPIBurst = 10 - s.ClusterResourceNamespace = "defaultClusterResourceNamespace" - s.Namespace = "defaultNamespace" - s.LeaderElectionConfig.Enabled = true - s.LeaderElectionConfig.Namespace = "defaultLeaderElectionNamespace" - s.LeaderElectionConfig.LeaseDuration = defaultTime - s.LeaderElectionConfig.RenewDeadline = defaultTime - s.LeaderElectionConfig.RetryPeriod = defaultTime - s.Controllers = []string{"*"} - s.ACMEHTTP01Config.SolverImage = "defaultACMEHTTP01SolverImage" - s.ACMEHTTP01Config.SolverResourceRequestCPU = "10m" - s.ACMEHTTP01Config.SolverResourceRequestMemory = "64Mi" - s.ACMEHTTP01Config.SolverResourceLimitsCPU = "100m" - s.ACMEHTTP01Config.SolverResourceLimitsMemory = "64Mi" - s.ACMEHTTP01Config.SolverRunAsNonRoot = true - s.ACMEHTTP01Config.SolverNameservers = []string{"8.8.8.8:53"} - s.ClusterIssuerAmbientCredentials = true - s.IssuerAmbientCredentials = true - s.IngressShimConfig.DefaultIssuerName = "defaultTLSACMEIssuerName" - s.IngressShimConfig.DefaultIssuerKind = "defaultIssuerKind" - s.IngressShimConfig.DefaultIssuerGroup = "defaultTLSACMEIssuerGroup" - s.IngressShimConfig.DefaultAutoCertificateAnnotations = []string{"kubernetes.io/tls-acme"} - s.ACMEDNS01Config.RecursiveNameservers = []string{"8.8.8.8:53"} - s.ACMEDNS01Config.RecursiveNameserversOnly = true - s.EnableCertificateOwnerRef = true - s.NumberOfConcurrentWorkers = 1 - s.MaxConcurrentChallenges = 1 - s.MetricsListenAddress = "0.0.0.0:9402" - s.HealthzListenAddress = "0.0.0.0:9402" - s.LeaderElectionConfig.HealthzTimeout = defaultTime - s.EnablePprof = true - s.PprofAddress = "something:1234" - temp := logs.NewOptions() - s.Logging = *temp - s.CopiedAnnotationPrefixes = []string{"*", "-kubectl.kubernetes.io/", "-fluxcd.io/", "-argocd.argoproj.io/"} + if s.ClusterResourceNamespace == "" { + s.ClusterResourceNamespace = "test-roundtrip" + } + + if len(s.Controllers) == 0 { + s.Controllers = []string{"test-roundtrip"} + } + + if len(s.CopiedAnnotationPrefixes) == 0 { + s.CopiedAnnotationPrefixes = []string{"test-roundtrip"} + } + + if s.MetricsListenAddress == "" { + s.MetricsListenAddress = "test-roundtrip" + } + + if s.HealthzListenAddress == "" { + s.HealthzListenAddress = "test-roundtrip" + } + + if s.PprofAddress == "" { + s.PprofAddress = "test-roundtrip" + } + + logsapi.SetRecommendedLoggingConfiguration(&s.Logging) + + if s.LeaderElectionConfig.Namespace == "" { + s.LeaderElectionConfig.Namespace = "test-roundtrip" + } + + if s.LeaderElectionConfig.LeaseDuration == time.Duration(0) { + s.LeaderElectionConfig.LeaseDuration = time.Second * 8875 + } + + if s.LeaderElectionConfig.RenewDeadline == time.Duration(0) { + s.LeaderElectionConfig.RenewDeadline = time.Second * 8875 + } + + if s.LeaderElectionConfig.RetryPeriod == time.Duration(0) { + s.LeaderElectionConfig.RetryPeriod = time.Second * 8875 + } + + if s.LeaderElectionConfig.HealthzTimeout == time.Duration(0) { + s.LeaderElectionConfig.HealthzTimeout = time.Second * 8875 + } + + if s.IngressShimConfig.DefaultIssuerKind == "" { + s.IngressShimConfig.DefaultIssuerKind = "test-roundtrip" + } + + if s.IngressShimConfig.DefaultIssuerGroup == "" { + s.IngressShimConfig.DefaultIssuerGroup = "test-roundtrip" + } + + if len(s.IngressShimConfig.DefaultAutoCertificateAnnotations) == 0 { + s.IngressShimConfig.DefaultAutoCertificateAnnotations = []string{"test-roundtrip"} + } + + if s.ACMEHTTP01Config.SolverImage == "" { + s.ACMEHTTP01Config.SolverImage = "test-roundtrip" + } + + if s.ACMEHTTP01Config.SolverResourceRequestCPU == "" { + s.ACMEHTTP01Config.SolverResourceRequestCPU = "test-roundtrip" + } + + if s.ACMEHTTP01Config.SolverResourceRequestMemory == "" { + s.ACMEHTTP01Config.SolverResourceRequestMemory = "test-roundtrip" + } + + if s.ACMEHTTP01Config.SolverResourceLimitsCPU == "" { + s.ACMEHTTP01Config.SolverResourceLimitsCPU = "test-roundtrip" + } + + if s.ACMEHTTP01Config.SolverResourceLimitsMemory == "" { + s.ACMEHTTP01Config.SolverResourceLimitsMemory = "test-roundtrip" + } + if s.ACMEDNS01Config.CheckRetryPeriod == time.Duration(0) { + s.ACMEDNS01Config.CheckRetryPeriod = time.Second * 8875 + } }, } } diff --git a/internal/apis/config/webhook/fuzzer/fuzzer.go b/internal/apis/config/webhook/fuzzer/fuzzer.go index f01a704e83f..770c75c6e08 100644 --- a/internal/apis/config/webhook/fuzzer/fuzzer.go +++ b/internal/apis/config/webhook/fuzzer/fuzzer.go @@ -19,7 +19,7 @@ package fuzzer import ( fuzz "github.com/google/gofuzz" runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer" - "k8s.io/utils/pointer" + logsapi "k8s.io/component-base/logs/api/v1" "github.com/cert-manager/cert-manager/internal/apis/config/webhook" ) @@ -30,15 +30,11 @@ var Funcs = func(codecs runtimeserializer.CodecFactory) []interface{} { func(s *webhook.WebhookConfiguration, c fuzz.Continue) { c.FuzzNoCustom(s) // fuzz self without calling this function again - if s.HealthzPort == nil { - s.HealthzPort = pointer.Int(12) - } - if s.SecurePort == nil { - s.SecurePort = pointer.Int(123) - } if s.PprofAddress == "" { - s.PprofAddress = "something:1234" + s.PprofAddress = "test-roundtrip" } + + logsapi.SetRecommendedLoggingConfiguration(&s.Logging) }, } } diff --git a/internal/apis/config/webhook/types.go b/internal/apis/config/webhook/types.go index 53e6d7e8e54..a1bbccbe958 100644 --- a/internal/apis/config/webhook/types.go +++ b/internal/apis/config/webhook/types.go @@ -28,11 +28,11 @@ type WebhookConfiguration struct { // securePort is the port number to listen on for secure TLS connections from the kube-apiserver. // Defaults to 6443. - SecurePort *int + SecurePort int32 // healthzPort is the port number to listen on (using plaintext HTTP) for healthz connections. // Defaults to 6080. - HealthzPort *int + HealthzPort int32 // tlsConfig is used to configure the secure listener's TLS settings. TLSConfig TLSConfig diff --git a/internal/apis/config/webhook/v1alpha1/defaults.go b/internal/apis/config/webhook/v1alpha1/defaults.go index d698a6f9670..700b8aead85 100644 --- a/internal/apis/config/webhook/v1alpha1/defaults.go +++ b/internal/apis/config/webhook/v1alpha1/defaults.go @@ -19,7 +19,7 @@ package v1alpha1 import ( "k8s.io/apimachinery/pkg/runtime" logsapi "k8s.io/component-base/logs/api/v1" - "k8s.io/utils/pointer" + "k8s.io/utils/ptr" "github.com/cert-manager/cert-manager/pkg/apis/config/webhook/v1alpha1" ) @@ -30,10 +30,10 @@ func addDefaultingFuncs(scheme *runtime.Scheme) error { func SetDefaults_WebhookConfiguration(obj *v1alpha1.WebhookConfiguration) { if obj.SecurePort == nil { - obj.SecurePort = pointer.Int(6443) + obj.SecurePort = ptr.To(int32(6443)) } if obj.HealthzPort == nil { - obj.HealthzPort = pointer.Int(6080) + obj.HealthzPort = ptr.To(int32(6080)) } if obj.PprofAddress == "" { obj.PprofAddress = "localhost:6060" diff --git a/internal/apis/config/webhook/v1alpha1/zz_generated.conversion.go b/internal/apis/config/webhook/v1alpha1/zz_generated.conversion.go index c1637e1fe8f..0991c333af2 100644 --- a/internal/apis/config/webhook/v1alpha1/zz_generated.conversion.go +++ b/internal/apis/config/webhook/v1alpha1/zz_generated.conversion.go @@ -26,6 +26,7 @@ import ( webhook "github.com/cert-manager/cert-manager/internal/apis/config/webhook" v1alpha1 "github.com/cert-manager/cert-manager/pkg/apis/config/webhook/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" conversion "k8s.io/apimachinery/pkg/conversion" runtime "k8s.io/apimachinery/pkg/runtime" ) @@ -161,8 +162,12 @@ func Convert_webhook_TLSConfig_To_v1alpha1_TLSConfig(in *webhook.TLSConfig, out } func autoConvert_v1alpha1_WebhookConfiguration_To_webhook_WebhookConfiguration(in *v1alpha1.WebhookConfiguration, out *webhook.WebhookConfiguration, s conversion.Scope) error { - out.SecurePort = (*int)(unsafe.Pointer(in.SecurePort)) - out.HealthzPort = (*int)(unsafe.Pointer(in.HealthzPort)) + if err := v1.Convert_Pointer_int32_To_int32(&in.SecurePort, &out.SecurePort, s); err != nil { + return err + } + if err := v1.Convert_Pointer_int32_To_int32(&in.HealthzPort, &out.HealthzPort, s); err != nil { + return err + } if err := Convert_v1alpha1_TLSConfig_To_webhook_TLSConfig(&in.TLSConfig, &out.TLSConfig, s); err != nil { return err } @@ -181,8 +186,12 @@ func Convert_v1alpha1_WebhookConfiguration_To_webhook_WebhookConfiguration(in *v } func autoConvert_webhook_WebhookConfiguration_To_v1alpha1_WebhookConfiguration(in *webhook.WebhookConfiguration, out *v1alpha1.WebhookConfiguration, s conversion.Scope) error { - out.SecurePort = (*int)(unsafe.Pointer(in.SecurePort)) - out.HealthzPort = (*int)(unsafe.Pointer(in.HealthzPort)) + if err := v1.Convert_int32_To_Pointer_int32(&in.SecurePort, &out.SecurePort, s); err != nil { + return err + } + if err := v1.Convert_int32_To_Pointer_int32(&in.HealthzPort, &out.HealthzPort, s); err != nil { + return err + } if err := Convert_webhook_TLSConfig_To_v1alpha1_TLSConfig(&in.TLSConfig, &out.TLSConfig, s); err != nil { return err } diff --git a/internal/apis/config/webhook/validation/validation.go b/internal/apis/config/webhook/validation/validation.go index 1a130909911..d2535d8a91c 100644 --- a/internal/apis/config/webhook/validation/validation.go +++ b/internal/apis/config/webhook/validation/validation.go @@ -48,11 +48,11 @@ func ValidateWebhookConfiguration(cfg *config.WebhookConfiguration) error { } } } - if cfg.HealthzPort == nil { - allErrors = append(allErrors, fmt.Errorf("invalid configuration: healthzPort must be specified")) + if cfg.HealthzPort < 0 || cfg.HealthzPort > 65535 { + allErrors = append(allErrors, fmt.Errorf("invalid configuration: healthzPort must be a valid port number")) } - if cfg.SecurePort == nil { - allErrors = append(allErrors, fmt.Errorf("invalid configuration: securePort must be specified")) + if cfg.SecurePort < 0 || cfg.SecurePort > 65535 { + allErrors = append(allErrors, fmt.Errorf("invalid configuration: securePort must be a valid port number")) } return utilerrors.NewAggregate(allErrors) } diff --git a/internal/apis/config/webhook/zz_generated.deepcopy.go b/internal/apis/config/webhook/zz_generated.deepcopy.go index 655700ded8e..ad34e289484 100644 --- a/internal/apis/config/webhook/zz_generated.deepcopy.go +++ b/internal/apis/config/webhook/zz_generated.deepcopy.go @@ -89,16 +89,6 @@ func (in *TLSConfig) DeepCopy() *TLSConfig { func (in *WebhookConfiguration) DeepCopyInto(out *WebhookConfiguration) { *out = *in out.TypeMeta = in.TypeMeta - if in.SecurePort != nil { - in, out := &in.SecurePort, &out.SecurePort - *out = new(int) - **out = **in - } - if in.HealthzPort != nil { - in, out := &in.HealthzPort, &out.HealthzPort - *out = new(int) - **out = **in - } in.TLSConfig.DeepCopyInto(&out.TLSConfig) in.Logging.DeepCopyInto(&out.Logging) if in.FeatureGates != nil { diff --git a/internal/webhook/webhook.go b/internal/webhook/webhook.go index d2bbddce8fa..1983a10dda1 100644 --- a/internal/webhook/webhook.go +++ b/internal/webhook/webhook.go @@ -71,8 +71,8 @@ func NewCertManagerWebhookServer(log logr.Logger, opts config.WebhookConfigurati } s := &server.Server{ - ListenAddr: fmt.Sprintf(":%d", *opts.SecurePort), - HealthzAddr: fmt.Sprintf(":%d", *opts.HealthzPort), + ListenAddr: fmt.Sprintf(":%d", opts.SecurePort), + HealthzAddr: fmt.Sprintf(":%d", opts.HealthzPort), EnablePprof: opts.EnablePprof, PprofAddr: opts.PprofAddress, CertificateSource: buildCertificateSource(log, opts.TLSConfig, restcfg), diff --git a/pkg/apis/config/webhook/v1alpha1/types.go b/pkg/apis/config/webhook/v1alpha1/types.go index 6ef03ddf4a2..1d39615a322 100644 --- a/pkg/apis/config/webhook/v1alpha1/types.go +++ b/pkg/apis/config/webhook/v1alpha1/types.go @@ -28,11 +28,11 @@ type WebhookConfiguration struct { // securePort is the port number to listen on for secure TLS connections from the kube-apiserver. // Defaults to 6443. - SecurePort *int `json:"securePort,omitempty"` + SecurePort *int32 `json:"securePort,omitempty"` // healthzPort is the port number to listen on (using plaintext HTTP) for healthz connections. // Defaults to 6080. - HealthzPort *int `json:"healthzPort,omitempty"` + HealthzPort *int32 `json:"healthzPort,omitempty"` // tlsConfig is used to configure the secure listener's TLS settings. TLSConfig TLSConfig `json:"tlsConfig"` diff --git a/pkg/apis/config/webhook/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/config/webhook/v1alpha1/zz_generated.deepcopy.go index 0484144972b..9fe3d916bbb 100644 --- a/pkg/apis/config/webhook/v1alpha1/zz_generated.deepcopy.go +++ b/pkg/apis/config/webhook/v1alpha1/zz_generated.deepcopy.go @@ -91,12 +91,12 @@ func (in *WebhookConfiguration) DeepCopyInto(out *WebhookConfiguration) { out.TypeMeta = in.TypeMeta if in.SecurePort != nil { in, out := &in.SecurePort, &out.SecurePort - *out = new(int) + *out = new(int32) **out = **in } if in.HealthzPort != nil { in, out := &in.HealthzPort, &out.HealthzPort - *out = new(int) + *out = new(int32) **out = **in } in.TLSConfig.DeepCopyInto(&out.TLSConfig) diff --git a/pkg/webhook/options/options.go b/pkg/webhook/options/options.go index c2941023afc..e2fd19ac7c8 100644 --- a/pkg/webhook/options/options.go +++ b/pkg/webhook/options/options.go @@ -58,8 +58,8 @@ func NewWebhookConfiguration() (*config.WebhookConfiguration, error) { } func AddConfigFlags(fs *pflag.FlagSet, c *config.WebhookConfiguration) { - fs.IntVar(c.SecurePort, "secure-port", *c.SecurePort, "port number to listen on for secure TLS connections") - fs.IntVar(c.HealthzPort, "healthz-port", *c.HealthzPort, "port number to listen on for insecure healthz connections") + fs.Int32Var(&c.SecurePort, "secure-port", c.SecurePort, "port number to listen on for secure TLS connections") + fs.Int32Var(&c.HealthzPort, "healthz-port", c.HealthzPort, "port number to listen on for insecure healthz connections") fs.StringVar(&c.TLSConfig.Filesystem.CertFile, "tls-cert-file", c.TLSConfig.Filesystem.CertFile, "path to the file containing the TLS certificate to serve with") fs.StringVar(&c.TLSConfig.Filesystem.KeyFile, "tls-private-key-file", c.TLSConfig.Filesystem.KeyFile, "path to the file containing the TLS private key to serve with") diff --git a/test/e2e/LICENSES b/test/e2e/LICENSES index 9430f7244ab..7b4f663d205 100644 --- a/test/e2e/LICENSES +++ b/test/e2e/LICENSES @@ -85,8 +85,8 @@ k8s.io/kube-aggregator/pkg/apis/apiregistration,https://github.com/kubernetes/ku k8s.io/kube-openapi/pkg,https://github.com/kubernetes/kube-openapi/blob/54b630e78af5/LICENSE,Apache-2.0 k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json,https://github.com/kubernetes/kube-openapi/blob/54b630e78af5/pkg/internal/third_party/go-json-experiment/json/LICENSE,BSD-3-Clause k8s.io/kube-openapi/pkg/validation/spec,https://github.com/kubernetes/kube-openapi/blob/54b630e78af5/pkg/validation/spec/LICENSE,Apache-2.0 -k8s.io/utils,https://github.com/kubernetes/utils/blob/30195339c3c7/LICENSE,Apache-2.0 -k8s.io/utils/internal/third_party/forked/golang/net,https://github.com/kubernetes/utils/blob/30195339c3c7/internal/third_party/forked/golang/LICENSE,BSD-3-Clause +k8s.io/utils,https://github.com/kubernetes/utils/blob/3b25d923346b/LICENSE,Apache-2.0 +k8s.io/utils/internal/third_party/forked/golang/net,https://github.com/kubernetes/utils/blob/3b25d923346b/internal/third_party/forked/golang/LICENSE,BSD-3-Clause sigs.k8s.io/controller-runtime/pkg,https://github.com/kubernetes-sigs/controller-runtime/blob/v0.15.0/LICENSE,Apache-2.0 sigs.k8s.io/gateway-api,https://github.com/kubernetes-sigs/gateway-api/blob/v0.7.1/LICENSE,Apache-2.0 sigs.k8s.io/json,https://github.com/kubernetes-sigs/json/blob/bc3834ca7abd/LICENSE,Apache-2.0 diff --git a/test/e2e/go.mod b/test/e2e/go.mod index 9c02327eb31..002b316641e 100644 --- a/test/e2e/go.mod +++ b/test/e2e/go.mod @@ -22,7 +22,7 @@ require ( k8s.io/client-go v0.27.4 k8s.io/component-base v0.27.4 k8s.io/kube-aggregator v0.27.4 - k8s.io/utils v0.0.0-20230711102312-30195339c3c7 + k8s.io/utils v0.0.0-20230726121419-3b25d923346b sigs.k8s.io/controller-runtime v0.15.0 sigs.k8s.io/gateway-api v0.7.1 sigs.k8s.io/structured-merge-diff/v4 v4.3.0 diff --git a/test/e2e/go.sum b/test/e2e/go.sum index 93baa957cc9..f7319849560 100644 --- a/test/e2e/go.sum +++ b/test/e2e/go.sum @@ -398,8 +398,8 @@ k8s.io/kube-aggregator v0.27.4 h1:WdK9iiBr32G8bWfpUEFVQl70RZO2dU19ZAktUXL5JFc= k8s.io/kube-aggregator v0.27.4/go.mod h1:+eG83gkAyh0uilQEAOgheeQW4hr+PkyV+5O1nLGsjlM= k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f h1:2kWPakN3i/k81b0gvD5C5FJ2kxm1WrQFanWchyKuqGg= k8s.io/kube-openapi v0.0.0-20230501164219-8b0f38b5fd1f/go.mod h1:byini6yhqGC14c3ebc/QwanvYwhuMWF6yz2F8uwW8eg= -k8s.io/utils v0.0.0-20230711102312-30195339c3c7 h1:ZgnF1KZsYxWIifwSNZFZgNtWE89WI5yiP5WwlfDoIyc= -k8s.io/utils v0.0.0-20230711102312-30195339c3c7/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= +k8s.io/utils v0.0.0-20230726121419-3b25d923346b h1:sgn3ZU783SCgtaSJjpcVVlRqd6GSnlTLKgpAAttJvpI= +k8s.io/utils v0.0.0-20230726121419-3b25d923346b/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= sigs.k8s.io/controller-runtime v0.15.0 h1:ML+5Adt3qZnMSYxZ7gAverBLNPSMQEibtzAgp0UPojU= sigs.k8s.io/controller-runtime v0.15.0/go.mod h1:7ngYvp1MLT+9GeZ+6lH3LOlcHkp/+tzA/fmHa4iq9kk= sigs.k8s.io/gateway-api v0.7.1 h1:Tts2jeepVkPA5rVG/iO+S43s9n7Vp7jCDhZDQYtPigQ= diff --git a/test/integration/LICENSES b/test/integration/LICENSES index f99f1e5c3f9..c3cf2d572fb 100644 --- a/test/integration/LICENSES +++ b/test/integration/LICENSES @@ -161,8 +161,8 @@ k8s.io/kube-openapi/pkg,https://github.com/kubernetes/kube-openapi/blob/54b630e7 k8s.io/kube-openapi/pkg/internal/third_party/go-json-experiment/json,https://github.com/kubernetes/kube-openapi/blob/54b630e78af5/pkg/internal/third_party/go-json-experiment/json/LICENSE,BSD-3-Clause k8s.io/kube-openapi/pkg/validation/spec,https://github.com/kubernetes/kube-openapi/blob/54b630e78af5/pkg/validation/spec/LICENSE,Apache-2.0 k8s.io/kubectl/pkg,https://github.com/kubernetes/kubectl/blob/v0.27.4/LICENSE,Apache-2.0 -k8s.io/utils,https://github.com/kubernetes/utils/blob/30195339c3c7/LICENSE,Apache-2.0 -k8s.io/utils/internal/third_party/forked/golang,https://github.com/kubernetes/utils/blob/30195339c3c7/internal/third_party/forked/golang/LICENSE,BSD-3-Clause +k8s.io/utils,https://github.com/kubernetes/utils/blob/3b25d923346b/LICENSE,Apache-2.0 +k8s.io/utils/internal/third_party/forked/golang,https://github.com/kubernetes/utils/blob/3b25d923346b/internal/third_party/forked/golang/LICENSE,BSD-3-Clause oras.land/oras-go/pkg,https://github.com/oras-project/oras-go/blob/v1.2.2/LICENSE,Apache-2.0 sigs.k8s.io/apiserver-network-proxy/konnectivity-client,https://github.com/kubernetes-sigs/apiserver-network-proxy/blob/konnectivity-client/v0.1.2/konnectivity-client/LICENSE,Apache-2.0 sigs.k8s.io/controller-runtime/pkg,https://github.com/kubernetes-sigs/controller-runtime/blob/v0.15.0/LICENSE,Apache-2.0 diff --git a/test/integration/go.mod b/test/integration/go.mod index a35ec6af834..f28a6782675 100644 --- a/test/integration/go.mod +++ b/test/integration/go.mod @@ -26,7 +26,7 @@ require ( k8s.io/client-go v0.27.4 k8s.io/component-base v0.27.4 k8s.io/kubectl v0.27.4 - k8s.io/utils v0.0.0-20230711102312-30195339c3c7 + k8s.io/utils v0.0.0-20230726121419-3b25d923346b sigs.k8s.io/controller-runtime v0.15.0 ) diff --git a/test/integration/go.sum b/test/integration/go.sum index 8323ac4db20..d49fa397073 100644 --- a/test/integration/go.sum +++ b/test/integration/go.sum @@ -1376,8 +1376,8 @@ k8s.io/kube-openapi v0.0.0-20230515203736-54b630e78af5/go.mod h1:kzo02I3kQ4BTtEf k8s.io/kubectl v0.27.4 h1:RV1TQLIbtL34+vIM+W7HaS3KfAbqvy9lWn6pWB9els4= k8s.io/kubectl v0.27.4/go.mod h1:qtc1s3BouB9KixJkriZMQqTsXMc+OAni6FeKAhq7q14= k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew= -k8s.io/utils v0.0.0-20230711102312-30195339c3c7 h1:ZgnF1KZsYxWIifwSNZFZgNtWE89WI5yiP5WwlfDoIyc= -k8s.io/utils v0.0.0-20230711102312-30195339c3c7/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= +k8s.io/utils v0.0.0-20230726121419-3b25d923346b h1:sgn3ZU783SCgtaSJjpcVVlRqd6GSnlTLKgpAAttJvpI= +k8s.io/utils v0.0.0-20230726121419-3b25d923346b/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= oras.land/oras-go v1.2.2 h1:0E9tOHUfrNH7TCDk5KU0jVBEzCqbfdyuVfGmJ7ZeRPE= oras.land/oras-go v1.2.2/go.mod h1:Apa81sKoZPpP7CDciE006tSZ0x3Q3+dOoBcMZ/aNxvw= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= diff --git a/test/webhook/testwebhook.go b/test/webhook/testwebhook.go index 32a3ee6ea9b..45d092181fe 100644 --- a/test/webhook/testwebhook.go +++ b/test/webhook/testwebhook.go @@ -34,7 +34,6 @@ import ( logtesting "github.com/go-logr/logr/testing" "github.com/spf13/pflag" "k8s.io/apimachinery/pkg/util/wait" - "k8s.io/utils/pointer" "github.com/cert-manager/cert-manager/internal/webhook" "github.com/cert-manager/cert-manager/pkg/util/pki" @@ -95,8 +94,8 @@ func StartWebhookServer(t *testing.T, ctx context.Context, args []string, argume } // Listen on a random port number - webhookConfig.SecurePort = pointer.Int(0) - webhookConfig.HealthzPort = pointer.Int(0) + webhookConfig.SecurePort = 0 + webhookConfig.HealthzPort = 0 errCh := make(chan error) srv, err := webhook.NewCertManagerWebhookServer(log, *webhookConfig, argumentsForNewServerWithOptions...)