2021-03-16 07:08:53 +00:00
|
|
|
module gopkg.in/k8snetworkplumbingwg/multus-cni.v3
|
2019-06-07 09:36:14 +00:00
|
|
|
|
2022-04-26 09:22:36 +00:00
|
|
|
go 1.17
|
2019-06-07 09:36:14 +00:00
|
|
|
|
|
|
|
require (
|
2022-02-28 13:04:23 +00:00
|
|
|
github.com/blang/semver v3.5.1+incompatible
|
2022-07-29 11:18:06 +00:00
|
|
|
github.com/containernetworking/cni v1.1.2
|
2022-03-01 16:55:23 +00:00
|
|
|
github.com/containernetworking/plugins v1.1.0
|
2022-04-26 11:27:46 +00:00
|
|
|
github.com/fsnotify/fsnotify v1.5.1
|
|
|
|
github.com/go-logr/logr v1.2.3 // indirect
|
thick-plugin: refactor multus
Multus is refactored as a thick plugin, featuring 2 main components:
- a server listening to a unix domain socket, running in a pod
- a shim, a binary on the host that will send JSON requests built from
its environment / stdin values to the aforementioned server.
The pod where the multus daemon is running must share the host's PID
namespace.
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
react to maintainers review
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
thick, deployment: update the daemonset spec
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
thick, config: validate the cni config passed by the runtime
Without this patch, we're blindly trusting anything sent by the server.
This way, we assure the requests arriving at the multus controller are
valid before hand.
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
thick: model client / server config
Also add a new command line parameter on the multus controller, pointing
it to the server configuration.
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
SQUASH candidate, thick, config: cleanup the configuration
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
multus: use args.args instead of an env variable
CNI is already filling the args structure; we should consume that
rather than rely on the environment variables.
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
unit tests: remove weird tests that check an impossible scenario
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
docs, thick: document the thick plugin variant
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
thick, server, multus: re-use common types
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
2021-12-16 17:18:35 +00:00
|
|
|
github.com/gorilla/mux v1.8.0
|
2022-04-26 11:27:46 +00:00
|
|
|
github.com/k8snetworkplumbingwg/network-attachment-definition-client v1.3.0
|
|
|
|
github.com/onsi/ginkgo v1.16.5
|
2022-07-29 11:18:06 +00:00
|
|
|
github.com/onsi/gomega v1.17.0
|
2021-05-21 17:05:38 +00:00
|
|
|
github.com/pkg/errors v0.9.1
|
2022-03-01 16:55:23 +00:00
|
|
|
github.com/vishvananda/netlink v1.1.1-0.20210330154013-f5de75959ad5
|
2022-04-26 11:27:46 +00:00
|
|
|
golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4
|
|
|
|
golang.org/x/sys v0.0.0-20220422013727-9388b58f7150
|
|
|
|
google.golang.org/grpc v1.40.0
|
2020-06-16 01:35:15 +00:00
|
|
|
gopkg.in/natefinch/lumberjack.v2 v2.0.0
|
2022-04-26 09:22:36 +00:00
|
|
|
k8s.io/api v0.22.8
|
|
|
|
k8s.io/apimachinery v0.22.8
|
|
|
|
k8s.io/client-go v0.22.8
|
2020-03-04 07:42:29 +00:00
|
|
|
k8s.io/klog v1.0.0
|
2022-04-26 11:27:46 +00:00
|
|
|
k8s.io/klog/v2 v2.60.1 // indirect
|
|
|
|
k8s.io/kube-openapi v0.0.0-20220413171646-5e7f5fdc6da6 // indirect
|
2021-05-21 17:05:38 +00:00
|
|
|
k8s.io/kubelet v0.0.0
|
2022-03-01 16:55:23 +00:00
|
|
|
sigs.k8s.io/yaml v1.3.0 // indirect
|
2019-06-07 09:36:14 +00:00
|
|
|
)
|
2021-02-18 16:11:43 +00:00
|
|
|
|
2022-06-02 09:20:38 +00:00
|
|
|
require github.com/prometheus/client_golang v1.12.2
|
|
|
|
|
2022-04-26 09:22:36 +00:00
|
|
|
require (
|
2022-06-02 09:20:38 +00:00
|
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
|
|
github.com/cespare/xxhash/v2 v2.1.2 // indirect
|
2022-04-26 09:22:36 +00:00
|
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
2022-04-26 11:27:46 +00:00
|
|
|
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
|
2022-04-26 09:22:36 +00:00
|
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
|
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
|
|
github.com/golang/protobuf v1.5.2 // indirect
|
|
|
|
github.com/google/go-cmp v0.5.5 // indirect
|
|
|
|
github.com/google/gofuzz v1.1.0 // indirect
|
|
|
|
github.com/googleapis/gnostic v0.5.5 // indirect
|
|
|
|
github.com/imdario/mergo v0.3.11 // indirect
|
2022-04-26 11:27:46 +00:00
|
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
2022-06-02 09:20:38 +00:00
|
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
|
2022-04-26 09:22:36 +00:00
|
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
|
|
github.com/nxadm/tail v1.4.8 // indirect
|
2022-06-02 09:20:38 +00:00
|
|
|
github.com/prometheus/client_model v0.2.0 // indirect
|
|
|
|
github.com/prometheus/common v0.32.1 // indirect
|
|
|
|
github.com/prometheus/procfs v0.7.3 // indirect
|
2022-04-26 09:22:36 +00:00
|
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
|
|
github.com/vishvananda/netns v0.0.0-20210104183010-2eb08e3e575f // indirect
|
2022-04-26 11:27:46 +00:00
|
|
|
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f // indirect
|
2022-04-26 09:22:36 +00:00
|
|
|
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
|
|
|
|
golang.org/x/text v0.3.7 // indirect
|
|
|
|
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
|
2022-04-26 11:27:46 +00:00
|
|
|
golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f // indirect
|
|
|
|
google.golang.org/appengine v1.6.7 // indirect
|
|
|
|
google.golang.org/genproto v0.0.0-20220107163113-42d7afdf6368 // indirect
|
|
|
|
google.golang.org/protobuf v1.28.0 // indirect
|
2022-04-26 09:22:36 +00:00
|
|
|
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.0-20210107192922-496545a6307b // indirect
|
|
|
|
k8s.io/utils v0.0.0-20211116205334-6203023598ed // indirect
|
|
|
|
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
|
|
|
|
)
|
|
|
|
|
2021-05-21 17:05:38 +00:00
|
|
|
replace (
|
|
|
|
github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2
|
2022-04-26 09:22:36 +00:00
|
|
|
k8s.io/api => k8s.io/api v0.22.8
|
|
|
|
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.22.8
|
|
|
|
k8s.io/apimachinery => k8s.io/apimachinery v0.22.8
|
|
|
|
k8s.io/apiserver => k8s.io/apiserver v0.22.8
|
|
|
|
k8s.io/cli-runtime => k8s.io/cli-runtime v0.22.8
|
|
|
|
k8s.io/client-go => k8s.io/client-go v0.22.8
|
|
|
|
k8s.io/cloud-provider => k8s.io/cloud-provider v0.22.8
|
|
|
|
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.22.8
|
|
|
|
k8s.io/code-generator => k8s.io/code-generator v0.22.8
|
|
|
|
k8s.io/component-base => k8s.io/component-base v0.22.8
|
|
|
|
k8s.io/component-helpers => k8s.io/component-helpers v0.22.8
|
|
|
|
k8s.io/controller-manager => k8s.io/controller-manager v0.22.8
|
|
|
|
k8s.io/cri-api => k8s.io/cri-api v0.22.8
|
|
|
|
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.22.8
|
|
|
|
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.22.8
|
|
|
|
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.22.8
|
2022-04-26 11:27:46 +00:00
|
|
|
k8s.io/kube-openapi => k8s.io/kube-openapi v0.0.0-20211109043538-20434351676c
|
2022-04-26 09:22:36 +00:00
|
|
|
k8s.io/kube-proxy => k8s.io/kube-proxy v0.22.8
|
|
|
|
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.22.8
|
|
|
|
k8s.io/kubectl => k8s.io/kubectl v0.22.8
|
|
|
|
k8s.io/kubelet => k8s.io/kubelet v0.22.8
|
2022-04-26 11:27:46 +00:00
|
|
|
k8s.io/kubernetes => k8s.io/kubernetes v1.22.8
|
2022-04-26 09:22:36 +00:00
|
|
|
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.22.8
|
|
|
|
k8s.io/metrics => k8s.io/metrics v0.22.8
|
|
|
|
k8s.io/mount-utils => k8s.io/mount-utils v0.22.8
|
2022-04-26 11:27:46 +00:00
|
|
|
k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.22.8
|
2022-04-26 09:22:36 +00:00
|
|
|
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.22.8
|
2021-05-21 17:05:38 +00:00
|
|
|
)
|