-
Notifications
You must be signed in to change notification settings - Fork 585
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: pci driver rebind config validation
We need a field named `name` to distinguish between named documents, as decoder expects a `name` yaml key. Fixes: #10025 Fixes by using standard `name` field instead of `pciID`. Signed-off-by: Noel Georgi <[email protected]>
- Loading branch information
Showing
8 changed files
with
11 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
pkg/machinery/config/types/hardware/testdata/pcidriverrebindconfig.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
apiVersion: v1alpha1 | ||
kind: PCIDriverRebindConfig | ||
pciID: "0000:04:00.00" | ||
name: "0000:04:00.00" | ||
targetDriver: vfio-pci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
website/content/v1.9/reference/configuration/hardware/_index.md
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
website/content/v1.9/reference/configuration/hardware/pcidriverrebindconfig.md
This file was deleted.
Oops, something went wrong.