1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-16 21:38:23 +00:00
node-feature-discovery/source
Markus Lehtonen 5af04ca3f6 source/local: allow full control of label name
Make it possible for the hooks to fully define the label name to be used
(i.e. without the '<hook name>-' prefix) by prefixing the printed
feature names with a slash ('/'). This makes it possible to e.g.
override labels create by other sources.

For example having the following output from a hook:
/override_source-override_bool
/override_source-override_value=my value

will translate into the following feature labels:
feature.node.kubernetes.io/override_source-override_bool = true
feature.node.kubernetes.io/override_source-override_value = my value
2018-11-30 11:51:41 +02:00
..
cpuid Support for non-binary labels 2018-10-10 13:21:49 +03:00
fake Support for non-binary labels 2018-10-10 13:21:49 +03:00
iommu Support for non-binary labels 2018-10-10 13:21:49 +03:00
kernel Implement kernel version detection 2018-10-10 13:21:49 +03:00
local source/local: allow full control of label name 2018-11-30 11:51:41 +02:00
memory Support for non-binary labels 2018-10-10 13:21:49 +03:00
network Support for non-binary labels 2018-10-10 13:21:49 +03:00
panic_fake Support for non-binary labels 2018-10-10 13:21:49 +03:00
pci Support for non-binary labels 2018-10-10 13:21:49 +03:00
pstate Support for non-binary labels 2018-10-10 13:21:49 +03:00
rdt Support for non-binary labels 2018-10-10 13:21:49 +03:00
selinux Support for non-binary labels 2018-10-10 13:21:49 +03:00
storage Support for non-binary labels 2018-10-10 13:21:49 +03:00
source.go Support for non-binary labels 2018-10-10 13:21:49 +03:00