1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-28 10:47:23 +00:00
node-feature-discovery/pkg
Markus Lehtonen c2c9dff724 nfd-worker: bail out on invalid config file
Changes the behaviour so that if the specified configuration file exists
it must be valid. Error out at startup if the config is invalid.
Similarly, exit with an error at runtime if the config file becomes
invalid. Bailing out, instead of just printing an error, was a
deliberate choice in order to make configuration mistakes evident.

Having no configuration file is tolerated, however. If the specified
configuration file does not exists nfd-worker resorts to default
settings.
2021-02-17 21:42:50 +02:00
..
apihelper Replace improper usage of filepath.Join with path.Join 2021-02-10 12:54:31 +02:00
cpuid pkg/cpuid: lint fixes 2020-05-20 21:48:06 +03:00
labeler nfd-worker: rework configuration handling 2020-05-21 00:59:37 +03:00
nfd-master nfd-master: implement --instance flag 2021-02-10 13:48:31 +02:00
nfd-worker nfd-worker: bail out on invalid config file 2021-02-17 21:42:50 +02:00
version version: allow undefined version 2020-03-20 07:21:43 +02:00