1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-06 16:57:10 +00:00
node-feature-discovery/pkg
Markus Lehtonen 8709cccf71 nfd-master: parse kubeconfig even with NoPublish set
Don't try to be too smart when kubeconfig is needed. In practice, the
nfd-master really doesn't work anymore (with the NodeFeature API
enabled) without a kubeconfig set. This patch fixes crashes happening
when NoPublish is enabled, e.g. in listing all nodes in the nfd api
handler and in getting single node objects in the node updater pool.

This patch changes the kubeconfig parsing to happen at the creation of
the nfd-master instance. We don't need to do that at reconfigure time as
none of the dynamic config options affect it. Unit tests are adjusted,
accordingly.
2024-04-08 14:25:27 +03:00
..
apis/nfd Merge pull request #1605 from ArangoGutierrez/codegen 2024-03-12 05:18:25 -07:00
cpuid pkg/cpuid: lint fixes 2020-05-20 21:48:06 +03:00
features Add FeatureGate framework to handle new features 2024-03-15 19:11:32 +01:00
generated Update auto-generated code 2024-03-11 12:18:32 +02:00
kubectl-nfd Add kubectl-nfd 2023-12-21 16:00:19 +01:00
labeler Update auto-generated code 2024-03-11 12:18:32 +02:00
nfd-gc Tidy up usage of channels for signaling 2024-04-05 14:39:58 +03:00
nfd-master nfd-master: parse kubeconfig even with NoPublish set 2024-04-08 14:25:27 +03:00
nfd-topology-updater Tidy up usage of channels for signaling 2024-04-05 14:39:58 +03:00
nfd-worker nfd-master: parse kubeconfig even with NoPublish set 2024-04-08 14:25:27 +03:00
podres Update auto-generated code 2024-03-11 12:18:32 +02:00
resourcemonitor topology-updater: ditch apihelper 2024-01-25 22:15:20 +02:00
topologypolicy nrt-api: move from v1alpha1 to v1alpha2 2023-02-09 12:29:54 +01:00
utils nfd-master: prevent crash on empty config struct 2024-04-05 14:19:44 +03:00
version version: allow undefined version 2020-03-20 07:21:43 +02:00