multus-cni: 3.9.3 -> 4.0.2 (#253393)

* multus-cni: 3.9.3 -> 4.0.2

* multus-cni: enabled tests

* multus-cni: explicitly define `subPackages`

* multus-cni: added `kashw2` to `maintainers`
This commit is contained in:
Keanu Ashwell 2023-09-06 00:40:57 +10:00 committed by GitHub
parent 2f9a01e62b
commit a8c7ed766c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "multus-cni";
version = "3.9.3";
version = "4.0.2";
src = fetchFromGitHub {
owner = "k8snetworkplumbingwg";
repo = pname;
rev = "v${version}";
sha256 = "sha256-43cFBrFM2jvD/SJ+QT1JQkr593jkdzAAvYlVUAQArEw=";
sha256 = "sha256-Q6ACXOv1E3Ouki4ksdlUZFbWcDgo9xbCiTfEiVG5l18=";
};
ldflags = [
@ -17,21 +17,23 @@ buildGoModule rec {
"-X=gopkg.in/k8snetworkplumbingwg/multus-cni.v3/pkg/multus.version=${version}"
];
preInstall = ''
mv $GOPATH/bin/cmd $GOPATH/bin/multus
'';
subPackages = [
"cmd/multus-daemon"
"cmd/multus-shim"
"cmd/multus"
"cmd/thin_entrypoint"
];
vendorHash = null;
# Some of the tests require accessing a k8s cluster
doCheck = false;
doCheck = true;
meta = with lib; {
description = "Multus CNI is a container network interface (CNI) plugin for Kubernetes that enables attaching multiple network interfaces to pods";
homepage = "https://github.com/k8snetworkplumbingwg/multus-cni";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ onixie ];
maintainers = with maintainers; [ onixie kashw2 ];
mainProgram = "multus";
};
}