From de2a212002d220f65ea17ff005b7264276373521 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Thu, 21 Dec 2023 18:28:05 +0200 Subject: [PATCH] docs: fixes - Fix broken link to nodefeaturerule samples - Fix sample output of kubectl plugin --- docs/usage/custom-resources.md | 2 +- docs/usage/kubectl-plugin.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/usage/custom-resources.md b/docs/usage/custom-resources.md index 364d00d4f..f21b7a534 100644 --- a/docs/usage/custom-resources.md +++ b/docs/usage/custom-resources.md @@ -87,7 +87,7 @@ See the for full documentation of the NodeFeatureRule resource and its usage. The -[`deployment/nodefeaturerule/samples/`](https://raw.githubusercontent.com/kubernetes-sigs/node-feature-discovery/{{site.release}}/deployment/nodefeaturerule/samples/) +[`deployment/nodefeaturerule/samples/`](https://github.com/kubernetes-sigs/node-feature-discovery/tree/{{site.release}}/deployment/nodefeaturerule/samples) directory contains sample NodeFeatureRule objects that replicate the built-in default feature labels generated by NFD. The sample rules can be used as a base to customize NFD feature labels. To use them in place of the the NFD built-in diff --git a/docs/usage/kubectl-plugin.md b/docs/usage/kubectl-plugin.md index 3acf11781..040be4bf1 100644 --- a/docs/usage/kubectl-plugin.md +++ b/docs/usage/kubectl-plugin.md @@ -62,9 +62,9 @@ Or you can use the example NodeFeature file(it is a minimal NodeFeature file): ```bash $ kubectl nfd dryrun -f examples/nodefeaturerule.yaml -n examples/nodefeature.yaml -Processing rule: my sample rule -*** Labels *** -vendor.io/my-sample-feature=true Evaluating NodeFeatureRule "examples/nodefeaturerule.yaml" against NodeFeature "examples/nodefeature.yaml" +Processing rule: my sample rule +*** Labels *** +vendor.io/my-sample-feature=true NodeFeatureRule "examples/nodefeaturerule.yaml" is valid for NodeFeature "examples/nodefeature.yaml" ```