1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00
node-feature-discovery/source/custom
Markus Lehtonen 6f881a4822 source/kernel: unmangled kconfig values for custom rules
Stop converting "=y" and "=m" to "true" for the raw feature values used
in "kernel.config" custom rule processing.

In practice, this means that to check if a kernel config flag has been
set to "y" or "m", one needs to explicitly check for both of the values:

  matchFeatures:
    - feature: kernel.config
      matchExpressions:
        FOO: {op: In, value: ["y", "m"]}

instead of (how it used to be):

  matchFeatures:
    - feature: kernel.config
      matchExpressions:
        FOO: {op: IsTrue}

The legacy kconfig custom rule is unchanged as are the
kernel-config.<flag> feature labels.
2021-12-02 10:06:21 +02:00
..
rules source/kernel: unmangled kconfig values for custom rules 2021-12-02 10:06:21 +02:00
custom.go pkg/apis/nfd: add variables to rule spec and support backreferences 2021-11-25 12:50:47 +02:00
directory_features.go source/custom: implement generic feature matching 2021-11-12 16:51:13 +02:00
static_features.go pkg/apis/nfd: work around issues with k8s deepcopy-gen 2021-11-17 13:40:43 +02:00