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
Markus Lehtonen f62b057bcd cpu: re-organize security features
Move existing security/trusted-execution related features (i.e. SGX and
SE) under the same "security" feature, deprecating the old features. The
motivation for the change is to keep the source code and user interface
more organized as we experience a constant inflow of similar security
related features. This change will affect the user interface so it is
less painful to do it early on.

New feature labels will be:

  feature.node.kubernetes.io/cpu-security.se.enabled
  feature.node.kubernetes.io/cpu-security.sgx.enabled

and correspondingly new "cpu.security" feature with "se.enabled" and
"sgx.enabled" elements will be available for custom rules, for example:

      - name: "sample sgx rule"
        labels:
          sgx.sample.feature: "true"
        matchFeatures:
          - feature: cpu.security
            matchExpressions:
              "sgx.enabled": {op: IsTrue}

At the same time deprecate old labels "cpu-sgx.enabled" and
"cpu-se.enabled" feature labels and the corresponding features for
custom rules. These will be removed in the future causing an effective
change in NFDs user interface.
2022-06-28 13:38:31 +03:00
..
cpu cpu: re-organize security features 2022-06-28 13:38:31 +03:00
custom Additional Lint Fixes in Codebase (#779) 2022-03-02 17:12:46 -08:00
fake Additional Lint Fixes in Codebase (#779) 2022-03-02 17:12:46 -08:00
iommu Fix GoLinter Issues in the files (#711) 2022-01-18 23:12:06 -08:00
kernel Fix GoLinter Issues in the files (#711) 2022-01-18 23:12:06 -08:00
local Additional Lint Fixes in Codebase (#779) 2022-03-02 17:12:46 -08:00
memory Additional Lint Fixes in Codebase (#779) 2022-03-02 17:12:46 -08:00
network source/network: ignore interface operational state 2022-05-13 12:40:33 +03:00
pci Merge pull request #716 from marquiz/devel/iommu-version 2022-03-15 05:32:12 -07:00
storage Fix GoLinter Issues in the files (#711) 2022-01-18 23:12:06 -08:00
system Fix GoLinter Issues in the files (#711) 2022-01-18 23:12:06 -08:00
usb Fix GoLinter Issues in the files (#711) 2022-01-18 23:12:06 -08:00
config.go Fix GoLinter Issues in the files (#711) 2022-01-18 23:12:06 -08:00
mock_LabelSource.go Merge pull request #602 from marquiz/devel/go-generate 2021-09-21 06:16:24 -07:00
source.go Fix GoLinter Issues in the files (#711) 2022-01-18 23:12:06 -08:00
source_test.go source/kernel: implement FeatureSource 2021-11-11 18:33:40 +02:00