1018 Commits

Author SHA1 Message Date
Ben Pickard
bd3f2a56c8 Merge pull request #1494 from k8snetworkplumbingwg/pin-actions-to-sha
Pin GH Actions to commit sha
2026-04-29 11:29:33 -04:00
thomasferrandiz
e10870dbcf Merge pull request #1491 from k8snetworkplumbingwg/dependabot/go_modules/google.golang.org/grpc-1.79.3
Bump google.golang.org/grpc from 1.73.0 to 1.79.3
2026-04-14 16:43:16 +02:00
Ben Pickard
522324cea1 Merge pull request #1472 from RamLavi/fix_alpine_short_name
e2e: Use fully qualified image name for images
2026-04-01 14:31:56 -04:00
Ben Pickard
7247264d92 Merge pull request #1476 from dgsponer/master
Add "nad" as shortName
2026-04-01 14:04:12 -04:00
Thomas Ferrandiz
6a6fb45fd8 Pin GH Actions to commit sha 2026-03-25 13:25:45 +00:00
Ben Pickard
132c5e7e79 Merge pull request #1490 from tsorya/jkary-fix-status-gc-no-pod-context
Fix thick plugin STATUS and GC handling for plugin-level commands
2026-03-23 15:39:43 -04:00
Ben Pickard
157e72f375 Merge pull request #1478 from pliurh/kubeconfig
k8sclient: use ServerVersion instead of pod list for kubeconfig validation
2026-03-19 09:00:03 -04:00
dependabot[bot]
75ac52c2c0 Bump google.golang.org/grpc from 1.73.0 to 1.79.3
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.73.0 to 1.79.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.73.0...v1.79.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.79.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-19 09:13:36 +00:00
thomasferrandiz
d801f0f407 Merge pull request #1487 from yingwang-0320/CORENET-6865-rebase
Bump multus-cni to Kube 1.35 and Go to 1.25
2026-03-19 10:12:17 +01:00
Igal Tsoiref
caedfea615 Address PR review nits from pliurh
- Check os.OpenFile error in STATUS/GC test
- Document that k8sArgs may be nil for STATUS/GC in HandleCNIRequest

Made-with: Cursor
2026-03-18 23:21:46 -04:00
Jason Kary
ec08b5fa8b Fix thick plugin STATUS and GC handling for plugin-level commands
STATUS and GC are plugin-level commands with no pod context per the
CNI 1.1.0 spec. The thick plugin daemon incorrectly required
CNI_CONTAINERID, CNI_NETNS, and K8S_POD_NAME/K8S_POD_NAMESPACE for
these commands, causing failures when invoked by kubelet.

Signed-off-by: Jason Kary <jkary@redhat.com>
2026-03-18 23:21:46 -04:00
Peng Liu
ddd00fe48b k8sclient: fix per-node kubeconfig fallback
Validate the per-node kubeconfig when a current certificate is
available and fall back to the bootstrap kubeconfig only when the
per-node config is no longer trusted.

Also rebuild the derived per-node rest.Config from the reloaded
bootstrap config so TLS settings are preserved and refreshed
consistently.

Signed-off-by: Peng Liu <pliu@redhat.com>
2026-03-17 15:06:12 +08:00
Peng Liu
f36f591be9 k8sclient: use ServerVersion instead of pod list for kubeconfig validation
Listing all pods across all namespaces during bootstrap is expensive
in large clusters and unnecessary since the result is discarded.
Use the lightweight /version endpoint to validate connectivity instead.

Signed-off-by: Peng Liu <pliu@redhat.com>
2026-03-17 14:42:53 +08:00
Ben Pickard
6eb8514eef Merge pull request #1481 from cathy-zhou/sortedResourcesUpstream
Sort DeviceIDs in GetPodResourceMap for deterministic ordering
2026-03-16 15:50:00 -04:00
Yun Zhou
1f27f0e331 Sort DeviceIDs in GetPodResourceMap for deterministic ordering
When a namespace uses a primary User-Defined Network (UDN) with a
device-plugin resource (e.g. SR-IOV), OVN-Kubernetes uses the last
device in the list for the primary interface while Multus assigns
earlier devices to cluster-default/secondary interfaces. The kubelet
and checkpoint paths build the list from map iteration, so order was
non-deterministic and the "last" device could differ between callers.
Sorting ensures both Multus and OVN-K8s see the same order so the
last device is consistently the one reserved for the primary UDN.

Signed-off-by: Yun Zhou <yunz@nvidia.com>
2026-03-16 11:46:51 -07:00
Ying Wang
4b82deaab3 fix error of no such tool covdata
Signed-off-by: Ying Wang <yingwang@rehat.com>
2026-03-13 10:22:30 -04:00
Ying Wang
33e7e49a1d fix make test error: informer synchronization timeouts in multus_cni100_test.go
Signed-off-by: Ying Wang <yingwang@rehat.com>
2026-03-13 09:28:48 -04:00
Ying Wang
eac883137c update go version to 1.25 in dockerfile and workflows files
Signed-off-by: Ying Wang <yingwang@rehat.com>
2026-03-13 12:16:22 +08:00
Ying Wang
0f1255133e multus-cni kube 1.35 rebase
Signed-off-by: Ying Wang <yingwang@rehat.com>
2026-03-13 11:31:21 +08:00
Ben Pickard
7063fb6206 Merge pull request #1484 from bpickard22/fix-trivy-ci
ci: update trivy-action to v0.35.0 to fix image scanning failure
2026-03-10 23:05:07 -04:00
Benjamin Pickard
9b9fb443b2 ci: update trivy-action to v0.35.0 to fix image scanning failure
The trivy-action@0.29.0 was trying to install Trivy v0.57.1 which
no longer exists in the GitHub releases. This was causing all PR
builds to fail on the "Image thick plugin" job. Update to v0.35.0
which properly installs the latest Trivy version.

Assisted by Claude Sonnet 4.5

Signed-off-by: Benjamin Pickard <bpickard@redhat.com>
2026-03-10 17:07:51 -04:00
Diego Gsponer
5dd752d9fc Add "nad" as shortName 2026-02-18 14:27:55 +01:00
Ben Pickard
705a59eaf9 Merge pull request #1470 from trozet/add_status_delegation
Adds support for CNI STATUS + other fixes for CNI Spec 1.1.0
v4.2.4
2026-02-17 15:22:32 -05:00
Tim Rozet
c943f9ffa2 thin_entrypoint: use conflist template for cniVersion >= 1.0.0
Fix thin auto-config generation to select 00-multus.conflist for
all CNI versions >= 1.0.0 (not only exact 1.0.0)

Signed-off-by: Tim Rozet <trozet@nvidia.com>
2026-02-13 14:23:57 -05:00
Tim Rozet
56d18efde0 support GC for single-plugin delegates in CmdGC
support only existed for confList before.

Signed-off-by: Tim Rozet <trozet@nvidia.com>
2026-02-13 14:17:41 -05:00
Tim Rozet
921191dece Dynamically determine version for empty ADD result
So that we can be compatible with 1.1.0.

Signed-off-by: Tim Rozet <trozet@nvidia.com>
2026-02-13 13:55:00 -05:00
Tim Rozet
e091897b4c Update gateway-result handling for 1.1.0
Signed-off-by: Tim Rozet <trozet@nvidia.com>
2026-02-13 13:48:35 -05:00
Tim Rozet
ea389005a1 Adds support for CNI STATUS
Changes-Include:
 - Add STATUS handling for delegate requests and single‑plugin
 - Invoke STATUS for conf/conflist delegates via libcni
 - Preserve CNI error codes/messages through daemon API and shim
 - Add tests for STATUS error propagation

Signed-off-by: Tim Rozet <trozet@nvidia.com>
2026-02-13 13:32:26 -05:00
Ram Lavi
ed71f702dd e2e: Use fully qualified image name for ubuntu:22.04
CRI-O 1.34+ enforces short name mode by default, which refuses
to pull images with unqualified names like 'ubuntu:22.04' because they
are ambiguous.

Use the full image docker.io/library/ubuntu:22.04

Fixes #1471

Signed-off-by: Ram Lavi <ralavi@redhat.com>
2026-01-21 22:55:56 +02:00
Ram Lavi
b501ee80b9 e2e: Use fully qualified image name for centos:8
CRI-O 1.34+ enforces short name mode by default, which refuses
to pull images with unqualified names like 'centos:8' because they
are ambiguous.

Use the full image quay.io/centos/centos:8

Fixes #1471

Signed-off-by: Ram Lavi <ralavi@redhat.com>
2026-01-21 22:55:56 +02:00
Ram Lavi
bbf13af3d5 e2e: Use fully qualified image name for alpine
CRI-O 1.34+ enforces short name mode by default, which refuses
to pull images with unqualified names like 'alpine' because they
are ambiguous.

Use a full image docker.io/library/alpine

Fixes #1471

Signed-off-by: Ram Lavi <ralavi@redhat.com>
2026-01-21 22:55:51 +02:00
Sebastian Scheinkman
9c05100972 Merge pull request #1465 from linuzctl/patch-1
Fix typo: cilium spelling
2026-01-14 10:49:53 +02:00
thomasferrandiz
39d6a8ffd2 Merge pull request #1467 from rollandf/go12411
chore: update Go version to 1.24.11
2025-12-24 09:55:51 +01:00
Fred Rolland
73dd0b4c3b chore: update Go version to 1.24.11
Fix several CVEs

Signed-off-by: Fred Rolland <frolland@nvidia.com>
2025-12-23 15:13:56 +02:00
linuzctl
0c108bd0fc Fix typo: cilium spelling 2025-12-21 20:50:46 +01:00
thomasferrandiz
f29a370f8e Merge pull request #1464 from k8snetworkplumbingwg/dependabot/go_modules/github.com/containernetworking/plugins-1.9.0
Bump github.com/containernetworking/plugins from 1.7.1 to 1.9.0
2025-12-11 11:44:26 +01:00
dependabot[bot]
1d0c2272db Bump github.com/containernetworking/plugins from 1.7.1 to 1.9.0
Bumps [github.com/containernetworking/plugins](https://github.com/containernetworking/plugins) from 1.7.1 to 1.9.0.
- [Release notes](https://github.com/containernetworking/plugins/releases)
- [Commits](https://github.com/containernetworking/plugins/compare/v1.7.1...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/containernetworking/plugins
  dependency-version: 1.9.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-09 17:20:01 +00:00
thomasferrandiz
f42e0bd8fa Merge pull request #1443 from yingwang-0320/CORENET-6353
Bump Multus to Kube 1.34
2025-11-12 09:52:57 +01:00
Jan Untersander
173fdf538a Allow for more time in setup of kind cluster in e2e test 2025-11-05 21:01:20 -05:00
Jan Untersander
71d42a1baf Change thick initContainer to use install_multus 2025-11-05 21:01:03 -05:00
“yingwang-0320”
fc3053fc6d Bump Multus to Kube 1.34
Signed-off-by: “yingwang-0320” <yingwang@redhat.com>
2025-11-05 01:47:24 -05:00
thomasferrandiz
2ecd4f4b47 Merge pull request #1445 from Untersander/fix/use-multus-install
Fix node reboot issue by using install_multus bin to update cni file
v4.2.3
2025-10-30 15:32:53 +01:00
thomasferrandiz
cdf603f4db Merge pull request #1451 from thomasferrandiz/bump-go-1.24
Bump to go 1.24
2025-10-24 09:51:37 +02:00
Thomas Ferrandiz
7489eea315 Fix url in generated kubeconfig file 2025-10-23 12:37:22 +00:00
Thomas Ferrandiz
369722ba7f Fix formatting as required by go vet 2025-10-16 15:01:31 +00:00
Thomas Ferrandiz
34e6dff08f Bump to go 1.24 2025-10-13 08:46:49 +00:00
Jan Untersander
8cf05dac81 Allow for more time in setup of kind cluster in e2e test 2025-09-28 12:19:22 +02:00
Jan Untersander
a234ce68f3 Change thick initContainer to use install_multus 2025-09-28 11:54:17 +02:00
Ben Pickard
00adf22482 Merge pull request #1435 from thomasferrandiz/fix-config-error-msg
Add error message when the config is missing at startup
v4.2.2
2025-07-03 09:39:42 -04:00
Thomas Ferrandiz
f6b42791b5 Add error message when the config is missing at startup 2025-07-03 12:04:54 +00:00