Skip to content

Commit

Permalink
Merge pull request #112 from oshoval/CVE-2022-1996
Browse files Browse the repository at this point in the history
CVE-2022-1996: Bump k8s.io/x and github.com/emicklei/go-restful/v3
  • Loading branch information
kubevirt-bot authored Nov 20, 2023
2 parents 7dc2761 + 6fbc47f commit d9bd434
Show file tree
Hide file tree
Showing 659 changed files with 68,883 additions and 17,915 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,18 @@ format: goimports-format whitespace-format

goimports-check: $(go_sources) $(GO)
$(GO) run ./vendor/golang.org/x/tools/cmd/goimports -d ./pkg ./cmd ./tests
touch $@

goimports-format: $(go_sources) $(GO)
$(GO) run ./vendor/golang.org/x/tools/cmd/goimports -w ./pkg ./cmd ./tests
touch $@

whitespace-check: $(all_sources) $(GO)
$(GO) run ./vendor/golang.org/x/tools/cmd/goimports -d ./pkg ./cmd ./tests
touch $@

whitespace-format: $(all_sources)
$(GO) run ./vendor/golang.org/x/tools/cmd/goimports -w ./pkg ./cmd ./tests
touch $@

vet: $(go_sources) $(GO)
$(GO) vet ./pkg/... ./cmd/... ./tests/...
touch $@

docker-build:
$(OCI_BIN) build -t ${IMAGE_REGISTRY}/${IMAGE_NAME}:${IMAGE_TAG} -f ./cmd/Dockerfile .
Expand Down Expand Up @@ -138,4 +133,9 @@ release: $(GITHUB_RELEASE)
format \
manifests \
test/unit \
vendor
vendor \
vet \
goimports-check \
goimports-format \
whitespace-check \
whitespace-format
80 changes: 39 additions & 41 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,50 +8,49 @@ require (
github.com/containernetworking/plugins v0.9.1
github.com/golang/glog v1.1.0
github.com/kubevirt/device-plugin-manager v1.19.4
github.com/onsi/ginkgo v1.14.1
github.com/onsi/gomega v1.10.3
github.com/onsi/ginkgo v1.16.4
github.com/onsi/gomega v1.23.0
github.com/pkg/errors v0.9.1
github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852
github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae
golang.org/x/net v0.17.0
golang.org/x/tools v0.6.0
google.golang.org/grpc v1.56.3
k8s.io/api v0.24.4
k8s.io/apimachinery v0.24.4
k8s.io/client-go v0.24.4
k8s.io/kubelet v0.23.6
k8s.io/api v0.26.4
k8s.io/apimachinery v0.26.4
k8s.io/client-go v0.26.4
k8s.io/kubelet v0.26.4
)

require (
github.com/PuerkitoBio/purell v1.1.1 // indirect
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
github.com/coreos/go-iptables v0.5.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dustin/go-humanize v1.0.0 // indirect
github.com/emicklei/go-restful v2.16.0+incompatible // indirect
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/github-release/github-release v0.8.1 // indirect
github.com/go-logr/logr v1.2.0 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.19.5 // indirect
github.com/go-openapi/swag v0.19.14 // indirect
github.com/go-logr/logr v1.2.3 // indirect
github.com/go-openapi/jsonpointer v0.19.6 // indirect
github.com/go-openapi/jsonreference v0.20.1 // indirect
github.com/go-openapi/swag v0.22.3 // indirect
github.com/go-stack/stack v1.8.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/gnostic v0.5.7-v3refs // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/gofuzz v1.1.0 // indirect
github.com/imdario/mergo v0.3.5 // indirect
github.com/imdario/mergo v0.3.6 // indirect
github.com/inconshreveable/log15 v0.0.0-20200109203555-b30bc20e4fd1 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/kevinburke/rest v0.0.0-20200429221318-0d2892b400f8 // indirect
github.com/mailru/easyjson v0.7.6 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-colorable v0.1.7 // indirect
github.com/mattn/go-isatty v0.0.12 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/nxadm/tail v1.4.4 // indirect
github.com/nxadm/tail v1.4.8 // indirect
github.com/safchain/ethtool v0.0.0-20190326074333-42ed695e3de8 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 // indirect
Expand All @@ -62,43 +61,42 @@ require (
golang.org/x/term v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
google.golang.org/protobuf v1.30.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/klog/v2 v2.60.1 // indirect
k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42 // indirect
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 // indirect
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
sigs.k8s.io/yaml v1.2.0 // indirect
k8s.io/klog/v2 v2.80.1 // indirect
k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 // indirect
k8s.io/utils v0.0.0-20221107191617-1a15be271d1d // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
)

// Pinned to kubernetes-1.24
// Pinned to kubernetes-1.26
replace (
k8s.io/api => k8s.io/api v0.24.4
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.24.4
k8s.io/apimachinery => k8s.io/apimachinery v0.24.4
k8s.io/apiserver => k8s.io/apiserver v0.24.4
k8s.io/cli-runtime => k8s.io/cli-runtime v0.24.4
k8s.io/client-go => k8s.io/client-go v0.24.4
k8s.io/cloud-provider => k8s.io/cloud-provider v0.24.4
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.24.4
k8s.io/code-generator => k8s.io/code-generator v0.24.4
k8s.io/component-base => k8s.io/component-base v0.24.4
k8s.io/cri-api => k8s.io/cri-api v0.24.4
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.24.4
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.24.4
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.24.4
k8s.io/api => k8s.io/api v0.26.4
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.26.4
k8s.io/apimachinery => k8s.io/apimachinery v0.26.4
k8s.io/apiserver => k8s.io/apiserver v0.26.4
k8s.io/cli-runtime => k8s.io/cli-runtime v0.26.4
k8s.io/client-go => k8s.io/client-go v0.26.4
k8s.io/cloud-provider => k8s.io/cloud-provider v0.26.4
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.26.4
k8s.io/code-generator => k8s.io/code-generator v0.26.4
k8s.io/component-base => k8s.io/component-base v0.26.4
k8s.io/cri-api => k8s.io/cri-api v0.26.4
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.26.4
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.26.4
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.26.4
k8s.io/kube-proxy => k8s.io/kube-proxy v0.19.1
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.19.1
k8s.io/kubelet => k8s.io/kubelet v0.24.4
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.24.4
k8s.io/metrics => k8s.io/metrics v0.24.4
k8s.io/kubelet => k8s.io/kubelet v0.26.4
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.26.4
k8s.io/metrics => k8s.io/metrics v0.26.4
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.19.1
vbom.ml/util => github.com/fvbommel/util v0.0.0-20180919145318-efcd4e0f9787
)
Loading

0 comments on commit d9bd434

Please sign in to comment.