-
Notifications
You must be signed in to change notification settings - Fork 822
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ObjectMeta should use additionalProperties
Rather than using `x-kubernetes-preserve-unknown-fields` which allows both keys and values of any type, we should use `additionalProperties` which only allows a specified type (in this case "string") for keys and values. Better validation!
- Loading branch information
1 parent
7a4d1bc
commit 07aa310
Showing
2 changed files
with
12 additions
and
6 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