mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Update dependencies use new Kubernetes libraries.
PiperOrigin-RevId: 510293880
This commit is contained in:
committed by
gVisor bot
parent
92d6203358
commit
646dcfef86
@@ -4,12 +4,12 @@ go 1.20
|
||||
|
||||
require (
|
||||
github.com/BurntSushi/toml v1.2.1
|
||||
github.com/bazelbuild/rules_go v0.30.0
|
||||
github.com/cenkalti/backoff v1.1.1-0.20190506075156-2146c9339422
|
||||
github.com/cilium/ebpf v0.4.0
|
||||
github.com/bazelbuild/rules_go v0.38.1
|
||||
github.com/cenkalti/backoff v2.2.1+incompatible
|
||||
github.com/cilium/ebpf v0.9.3
|
||||
github.com/containerd/cgroups v1.0.1
|
||||
github.com/containerd/console v1.0.1
|
||||
github.com/containerd/containerd v1.4.12
|
||||
github.com/containerd/containerd v1.4.13
|
||||
github.com/containerd/fifo v1.0.0
|
||||
github.com/containerd/go-runc v1.0.0
|
||||
github.com/containerd/typeurl v1.0.2
|
||||
@@ -19,57 +19,64 @@ require (
|
||||
github.com/gogo/protobuf v1.3.2
|
||||
github.com/google/btree v1.0.1
|
||||
github.com/google/subcommands v1.0.2-0.20190508160503-636abe8753b8
|
||||
github.com/kr/pty v1.1.4-0.20190131011033-7dc38fb350b1
|
||||
github.com/kr/pty v1.1.1
|
||||
github.com/mattbaird/jsonpatch v0.0.0-20171005235357-81af80346b1a
|
||||
github.com/mohae/deepcopy v0.0.0-20170308212314-bb9b5e7adda9
|
||||
github.com/opencontainers/runtime-spec v1.0.3-0.20211123151946-c2389c3cb60a
|
||||
github.com/opencontainers/runtime-spec v1.1.0-rc.1
|
||||
github.com/sirupsen/logrus v1.8.1
|
||||
github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635
|
||||
github.com/vishvananda/netlink v1.0.1-0.20190930145447-2ec5bdc52b86
|
||||
golang.org/x/mod v0.6.0-dev
|
||||
github.com/vishvananda/netlink v1.1.1-0.20211118161826-650dca95af54
|
||||
golang.org/x/mod v0.7.0
|
||||
golang.org/x/sync v0.1.0
|
||||
golang.org/x/sys v0.2.0
|
||||
golang.org/x/time v0.0.0-20191024005414-555d28b269f0
|
||||
golang.org/x/tools v0.1.9
|
||||
google.golang.org/protobuf v1.27.1
|
||||
k8s.io/api v0.16.13
|
||||
k8s.io/apimachinery v0.16.14-rc.0
|
||||
k8s.io/client-go v0.16.13
|
||||
golang.org/x/sys v0.4.0
|
||||
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8
|
||||
golang.org/x/tools v0.5.0
|
||||
google.golang.org/protobuf v1.28.2-0.20230118093459-a9481185b34d
|
||||
k8s.io/api v0.23.16
|
||||
k8s.io/apimachinery v0.23.16
|
||||
k8s.io/client-go v0.23.16
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/Microsoft/go-winio v0.5.1 // indirect
|
||||
github.com/Microsoft/go-winio v0.6.0 // indirect
|
||||
github.com/Microsoft/hcsshim v0.8.14 // indirect
|
||||
github.com/containerd/continuity v0.2.1 // indirect
|
||||
github.com/containerd/ttrpc v1.0.2 // indirect
|
||||
github.com/containerd/continuity v0.3.0 // indirect
|
||||
github.com/containerd/ttrpc v1.1.0 // indirect
|
||||
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||
github.com/docker/go-units v0.4.0 // indirect
|
||||
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
|
||||
github.com/go-logr/logr v1.2.0 // indirect
|
||||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
||||
github.com/golang/protobuf v1.5.2 // indirect
|
||||
github.com/google/gofuzz v1.0.0 // indirect
|
||||
github.com/googleapis/gnostic v0.4.0 // indirect
|
||||
github.com/hanwen/go-fuse/v2 v2.1.1-0.20220627082937-d01fda7edf17 // indirect
|
||||
github.com/google/go-cmp v0.5.9 // indirect
|
||||
github.com/google/gofuzz v1.1.0 // indirect
|
||||
github.com/googleapis/gnostic v0.5.5 // indirect
|
||||
github.com/hashicorp/errwrap v1.0.0 // indirect
|
||||
github.com/hashicorp/go-multierror v1.1.0 // indirect
|
||||
github.com/json-iterator/go v1.1.7 // indirect
|
||||
github.com/json-iterator/go v1.1.12 // indirect
|
||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
||||
github.com/modern-go/reflect2 v1.0.1 // indirect
|
||||
github.com/modern-go/reflect2 v1.0.2 // indirect
|
||||
github.com/opencontainers/go-digest v1.0.0 // indirect
|
||||
github.com/pkg/errors v0.9.1 // indirect
|
||||
github.com/vishvananda/netns v0.0.0-20211101163701-50045581ed74 // indirect
|
||||
go.opencensus.io v0.23.0 // indirect
|
||||
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 // indirect
|
||||
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f // indirect
|
||||
golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1 // indirect
|
||||
golang.org/x/text v0.3.7 // indirect
|
||||
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
|
||||
github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae // indirect
|
||||
go.opencensus.io v0.24.0 // indirect
|
||||
golang.org/x/net v0.5.0 // indirect
|
||||
golang.org/x/oauth2 v0.4.0 // indirect
|
||||
golang.org/x/term v0.4.0 // indirect
|
||||
golang.org/x/text v0.6.0 // indirect
|
||||
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
|
||||
google.golang.org/appengine v1.6.7 // indirect
|
||||
google.golang.org/genproto v0.0.0-20210722135532-667f2b7c528f // indirect
|
||||
google.golang.org/grpc v1.51.0-dev // indirect
|
||||
google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect
|
||||
google.golang.org/grpc v1.53.0-dev.0.20230123225046-4075ef07c5d5 // indirect
|
||||
gopkg.in/inf.v0 v0.9.1 // indirect
|
||||
gopkg.in/yaml.v2 v2.2.8 // 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
|
||||
gotest.tools/v3 v3.4.0 // indirect
|
||||
k8s.io/klog v1.0.0 // indirect
|
||||
k8s.io/utils v0.0.0-20190801114015-581e00157fb1 // indirect
|
||||
sigs.k8s.io/yaml v1.1.0 // indirect
|
||||
honnef.co/go/tools v0.4.2 // indirect
|
||||
k8s.io/klog/v2 v2.30.0 // indirect
|
||||
k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 // indirect
|
||||
k8s.io/utils v0.0.0-20211116205334-6203023598ed // indirect
|
||||
sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6 // indirect
|
||||
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
|
||||
sigs.k8s.io/yaml v1.2.0 // indirect
|
||||
)
|
||||
|
||||
@@ -136,7 +136,9 @@ analyzers:
|
||||
shift:
|
||||
generated: # Disabled for generated code; these shifts are well-defined.
|
||||
exclude: [".*"]
|
||||
external: # Enabled.
|
||||
external:
|
||||
exclude:
|
||||
- ".*unix/syscall_linux.go" # False positive on line 2002.
|
||||
stringintconv:
|
||||
external:
|
||||
exclude:
|
||||
|
||||
@@ -11,7 +11,7 @@ go_library(
|
||||
"//:sandbox",
|
||||
],
|
||||
deps = [
|
||||
"@com_google_cloud_go_bigquery//:go_default_library",
|
||||
"@com_google_cloud_go//bigquery:go_default_library",
|
||||
"@org_golang_google_api//option:go_default_library",
|
||||
"@org_golang_x_oauth2//:go_default_library",
|
||||
],
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ go_binary(
|
||||
nogo = False,
|
||||
deps = [
|
||||
"//tools/github/reviver",
|
||||
"@com_github_google_go_github_v35//github:go_default_library",
|
||||
"@com_github_google_go_github_v42//github:go_default_library",
|
||||
"@org_golang_x_oauth2//:go_default_library",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -12,7 +12,7 @@ go_library(
|
||||
visibility = [
|
||||
"//tools/github:__subpackages__",
|
||||
],
|
||||
deps = ["@com_github_google_go_github_v35//github:go_default_library"],
|
||||
deps = ["@com_github_google_go_github_v42//github:go_default_library"],
|
||||
)
|
||||
|
||||
go_test(
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
package injector
|
||||
|
||||
import (
|
||||
"context"
|
||||
"crypto/tls"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
@@ -83,7 +84,7 @@ func CreateConfiguration(clientset kubeclientset.Interface, selector *metav1.Lab
|
||||
},
|
||||
}
|
||||
log.Infof("Creating MutatingWebhookConfiguration %q", config.Name)
|
||||
if _, err := clientset.AdmissionregistrationV1beta1().MutatingWebhookConfigurations().Create(config); err != nil {
|
||||
if _, err := clientset.AdmissionregistrationV1beta1().MutatingWebhookConfigurations().Create(context.TODO(), config, metav1.CreateOptions{}); err != nil {
|
||||
if !apierrors.IsAlreadyExists(err) {
|
||||
return fmt.Errorf("failed to create MutatingWebhookConfiguration %q: %s", config.Name, err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user