-
Notifications
You must be signed in to change notification settings - Fork 819
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 (#1949)
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! Co-authored-by: Robert Bailey <robertbailey@google.com>
- Loading branch information
1 parent
8f439f0
commit 93d8c10
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