Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Provide types for each property in oneOf

The empty properties here also produces invalid json schema when used with https://github.com/yannh/kubeconform
  • Loading branch information
davidholsgrove committed May 24, 2021
1 parent f61fc85 commit 8624ced
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,16 +124,23 @@ spec:
oneOf:
- properties:
key:
type: string
name:
type: string
property:
type: string
isBinary:
type: boolean
secretType:
type: string
required:
- key
- name
- properties:
path:
type: string
recursive:
type: boolean
required:
- path
roleArn:
Expand Down

0 comments on commit 8624ced

Please sign in to comment.