forked from kubernetes-sigs/cluster-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make APIVersion/Kind mandatory for MachineList (kubernetes-sigs#756)
Reworked util.ParseMachineYaml to enforce APIVersion and Kind as requirements to parse a MachineList object. As this is a breaking change a new message is introduced when parsing a YAML file that uses the old convention, test suite was upgraded with a few cases. Recommended to move to UniversialDeserializer once the API is stabilized and added to k8s.io/client-go Fixes: kubernetes-sigs#717
- Loading branch information
1 parent
770a417
commit eca8ab1
Showing
2 changed files
with
102 additions
and
71 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
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