1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-09 10:17:04 +00:00
node-feature-discovery/test/e2e/data/nodefeaturerule-4.yaml

33 lines
830 B
YAML
Raw Normal View History

apiVersion: nfd.k8s-sigs.io/v1alpha1
kind: NodeFeatureRule
metadata:
name: e2e-extened-resource-test
spec:
rules:
- name: "e2e no ns rule"
extendedResources:
nons: "123"
matchFeatures:
- feature: "fake.attribute"
matchExpressions:
"attr_1": {op: IsTrue}
"attr_2": {op: IsFalse}
- name: "e2e Dynamic rule"
extendedResources:
vendor.io/dynamic: "@fake.attribute.attr_3"
matchFeatures:
- feature: "fake.attribute"
matchExpressions:
"attr_3": {op: Exists}
- name: "e2e static rule"
extendedResources:
vendor.feature.node.kubernetes.io/static: "123"
matchFeatures:
- name: "e2e not allowed rule"
extendedResources:
bad.kubernetes.io/malo: "999"
matchFeatures: