Oleg Zhurakivskyy
2f62aed06d
source/system: Add reading vendor information
...
Add reading vendor information from /sys/devices/virtual/dmi/id/sys_vendor
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2024-02-19 15:40:31 +02:00
Kubernetes Prow Robot
b593e68d87
Merge pull request #1591 from marquiz/devel/nfd-master-logging
...
nfd-master: log errors on node update retries
2024-02-16 06:10:49 -08:00
Markus Lehtonen
044fd4a3fd
nfd-master: log errors on node update retries
2024-02-16 15:51:04 +02:00
Kubernetes Prow Robot
41e903de1a
Merge pull request #1589 from marquiz/devel/pci-unit-test
...
source/pci: add unit test for the pci source
2024-02-16 01:36:51 -08:00
Markus Lehtonen
1f3b9ccb97
apis/nfd/validate: use testify/assert for checking test results
2024-02-16 10:05:16 +02:00
Markus Lehtonen
394144829d
source/pci: add testdata for the unit tests
...
Add mock sysfs entries for testing PCI device discovery.
2024-02-15 23:29:34 +02:00
Markus Lehtonen
24a69b0989
source/pci: add unit test for the pci source
...
Test PCI feature discovery against a mocked sysfs.
2024-02-15 23:29:34 +02:00
Kubernetes Prow Robot
b33b01a31b
Merge pull request #1587 from ArangoGutierrez/priorityclass
...
helm: add priorityClassName option
2024-02-15 10:29:27 -08:00
Kubernetes Prow Robot
a5de1f73ce
Merge pull request #1588 from marquiz/devel/kernel-unit-test
...
source/kernel: add unit tests for kernel version parsing
2024-02-15 07:53:09 -08:00
Carlos Eduardo Arango Gutierrez
75f0a14f2a
helm: add priorityClassName option
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2024-02-15 16:29:33 +01:00
Markus Lehtonen
32b1088f84
source/kernel: add unit tests for kernel version parsing
2024-02-15 14:44:18 +02:00
Kubernetes Prow Robot
e0b8a52f8b
Merge pull request #1582 from marquiz/devel/helm-lint
...
scripts/test-infra: bump helm to v3.14.0
2024-02-12 05:16:31 -08:00
Kubernetes Prow Robot
769165aff0
Merge pull request #1579 from marquiz/devel/golang
...
Bump Go to v1.22
2024-02-12 04:53:43 -08:00
Markus Lehtonen
de9da1af8b
Bump Go to v1.22
2024-02-12 12:53:42 +02:00
Kubernetes Prow Robot
5683079a06
Merge pull request #1583 from marquiz/devel/logcheck
...
scripts/test-infra: bump k8s logcheck to v0.8.1
2024-02-12 02:46:31 -08:00
Markus Lehtonen
41092477df
scripts/test-infra: bump k8s logcheck to v0.8.1
2024-02-12 12:23:47 +02:00
Markus Lehtonen
cf265e7969
scripts/test-infra: bump helm to v3.14.0
2024-02-12 12:19:39 +02:00
Kubernetes Prow Robot
4e4fa1fec9
Merge pull request #1580 from marquiz/devel/golangci-lint
...
scripts/test-infra: bump golangci-lint to v1.56.1
2024-02-12 01:14:07 -08:00
Markus Lehtonen
1b6ae03c88
scripts/test-infra: bump golangci-lint to v1.56.1
2024-02-09 13:56:30 +02:00
Kubernetes Prow Robot
5e105a18cc
Merge pull request #1576 from kubernetes-sigs/dependabot/bundler/docs/nokogiri-1.16.2
...
build(deps-dev): bump nokogiri from 1.16.0 to 1.16.2 in /docs
2024-02-06 07:55:50 -08:00
dependabot[bot]
db6964a4ab
build(deps-dev): bump nokogiri from 1.16.0 to 1.16.2 in /docs
...
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri ) from 1.16.0 to 1.16.2.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases )
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.16.0...v1.16.2 )
---
updated-dependencies:
- dependency-name: nokogiri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-06 03:56:11 +00:00
Kubernetes Prow Robot
491627e613
Merge pull request #1575 from kubernetes-sigs/dependabot/go_modules/github.com/opencontainers/runc-1.1.12
...
build(deps): bump github.com/opencontainers/runc from 1.1.10 to 1.1.12
2024-02-01 03:42:48 -08:00
dependabot[bot]
5c12f840af
build(deps): bump github.com/opencontainers/runc from 1.1.10 to 1.1.12
...
Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc ) from 1.1.10 to 1.1.12.
- [Release notes](https://github.com/opencontainers/runc/releases )
- [Changelog](https://github.com/opencontainers/runc/blob/v1.1.12/CHANGELOG.md )
- [Commits](https://github.com/opencontainers/runc/compare/v1.1.10...v1.1.12 )
---
updated-dependencies:
- dependency-name: github.com/opencontainers/runc
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-31 22:51:26 +00:00
Kubernetes Prow Robot
856b1747b9
Merge pull request #1573 from marquiz/devel/docs-hooks
...
docs: document removal of hooks in v0.17
2024-01-31 01:33:50 -08:00
Kubernetes Prow Robot
e3d5b92211
Merge pull request #1444 from AhmedGrati/docs-kep-spiffe-integration
...
docs: add KEP of Spiffe integration
2024-01-30 07:22:58 -08:00
Markus Lehtonen
809520809e
docs: document removal of hooks in v0.17
2024-01-29 11:35:20 +02:00
Kubernetes Prow Robot
5c99ae8343
Merge pull request #1560 from leemingeer/master
...
nfd-topology-updater add pods fingerprint by default
2024-01-29 00:34:44 -08:00
Kubernetes Prow Robot
fe69118fd6
Merge pull request #1571 from marquiz/devel/nfd-master-status-patching
...
nfd-master: fix node status patching
2024-01-26 23:21:29 +01:00
Markus Lehtonen
2382c34697
nfd-master: fix node status patching
...
Correctly patch the "status" subresource. This got broken when
refactoring the code in 7a050e7cf9
and
wasn't even catched by the unit tests as the fake kubernetes client
doesn't handle subresources as the real apiserver does.
2024-01-26 22:00:13 +02:00
Kubernetes Prow Robot
a66e1d3004
Merge pull request #1561 from marquiz/devel/apihelper-refactor
...
Drop pkg/apihelper
2024-01-26 18:14:30 +01:00
Markus Lehtonen
8a6a731eb0
Drop pkg/apihelper
...
The code is now unused.
2024-01-26 18:50:31 +02:00
Kubernetes Prow Robot
33858b7502
Merge pull request #1567 from marquiz/devel/apihelper-refactor-3
...
topology-updater: ditch apihelper
2024-01-26 17:07:13 +01:00
Kubernetes Prow Robot
8e53bb3ad4
Merge pull request #1570 from marquiz/devel/apihelper-refactor-5
...
nfd-master: ditch apihelper
2024-01-26 15:30:06 +01:00
Markus Lehtonen
7a050e7cf9
nfd-master: ditch apihelper
...
Implement some of frequently used helper functions inpackage.
This patch also contains big changes to the nfd-master unit tests. Much
of this is about migrating from the mocked apihelper interface to fake
kubernetes client that provides a bit more apiserver'ish functionality.
At the same time there is quite a bit of renaming in the tests,
shortening and unifying naming and getting rid of the extensive usage of
"mock" everywhere.
2024-01-26 16:09:22 +02:00
Kubernetes Prow Robot
43a9239962
Merge pull request #1568 from marquiz/devel/apihelper-refactor-4
...
pkg/utils: move JsonPatch from pkg/apihelper
2024-01-26 11:48:24 +01:00
leemingeer
b6d8ce7a5a
nfd-topology-updater add pods fingerprint by default
2024-01-26 17:55:34 +08:00
Markus Lehtonen
c581a25a39
topology-updater: ditch apihelper
...
Stop using pkg/apihelper for accessing the Kubernetes API. Modify unit
tests to use the fake kubernetes client instead of mocked apihelper
interface.
2024-01-25 22:15:20 +02:00
Markus Lehtonen
53003cbf69
pkg/utils: move JsonPatch from pkg/apihelper
2024-01-25 17:23:14 +02:00
Kubernetes Prow Robot
5d30be1013
Merge pull request #1566 from marquiz/devel/apihelper-refactor-2
...
topology-updater: get topology api client directly
2024-01-25 16:21:08 +01:00
Kubernetes Prow Robot
238105cf16
Merge pull request #1565 from marquiz/devel/helm
...
deployment/helm: don't deploy topology-updater conf unnecessarily
2024-01-25 15:47:27 +01:00
Markus Lehtonen
2326459d05
topology-updater: get topology api client directly
...
Stop using apihelper for getting the noderesourcetopology-api client.
2024-01-25 16:33:34 +02:00
Markus Lehtonen
8adb4b38da
deployment/helm: don't deploy topology-updater conf unnecessarily
...
Only deploy the topology-updater config if topology-updater itself (the
daemon) is deployed.
2024-01-25 16:15:58 +02:00
Kubernetes Prow Robot
f3e07aeb91
Merge pull request #1564 from marquiz/devel/owners
...
OWNERS: add AhmedGrati as a reviewer
2024-01-25 12:19:29 +01:00
Markus Lehtonen
d6ee3b2778
OWNERS: add AhmedGrati as a reviewer
...
Also, sort the names alphabetically.
2024-01-25 13:12:51 +02:00
Kubernetes Prow Robot
3ef10fecd0
Merge pull request #1562 from marquiz/devel/apihelper-refactor-1
...
pkg/utils: move GetKubeconfig from pkg/apihelper here
2024-01-25 10:24:39 +01:00
Markus Lehtonen
acf815fb10
pkg/utils: move GetKubeconfig from pkg/apihelper here
...
This change is part of an effort to remove the pkg/apihelper package.
GetKubeconfig is useful helper functionality shared accross the codebase
so move it into a "safe" location.
2024-01-24 16:10:02 +02:00
mantramantra12
ea4504a916
Prevent nfd-worker
erroring when reading attributes from paravirtual devices ( #1557 )
...
* prevent erroring on paravirtual devices
* Use `errors.Is()` for error checking
Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>
* add imports
---------
Co-authored-by: Markus Lehtonen <markus.lehtonen@intel.com>
2024-01-23 22:20:43 +01:00
Kubernetes Prow Robot
c677736e4c
Merge pull request #1558 from marquiz/devel/error-wrap
...
Wrap nested errors
2024-01-23 19:37:18 +01:00
Markus Lehtonen
57b7a3c6a8
Wrap nested errors
2024-01-22 22:45:15 +02:00
Kubernetes Prow Robot
42b125107b
Merge pull request #1555 from marquiz/devel/topology-updater-no-publish-docs
...
topology-updater: document the -no-publish flag correctly
2024-01-22 17:19:41 +01:00