mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-06 08:47:04 +00:00
18 lines
458 B
YAML
18 lines
458 B
YAML
|
#
|
||
|
# This NodeFeatureRule replicates all built-in local feature labels of NFD.
|
||
|
#
|
||
|
apiVersion: nfd.k8s-sigs.io/v1alpha1
|
||
|
kind: NodeFeatureRule
|
||
|
metadata:
|
||
|
name: nfd-builtin-local-features
|
||
|
spec:
|
||
|
rules:
|
||
|
- name: "nfd built-in labels from the local feature source"
|
||
|
labelsTemplate: |
|
||
|
{{ range .local.label }}{{ .Name }}={{ .Value }}
|
||
|
{{ end }}
|
||
|
matchFeatures:
|
||
|
- feature: local.label
|
||
|
matchName:
|
||
|
op: Exists
|