Skip to content

Commit

Permalink
fix: missing one-of constraint of top-level when conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
guicassolato committed Sep 27, 2023
1 parent 991af36 commit 4bfd327
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions install/crd/patches/oneof_in_authconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,12 @@
selector: {}
value: {}
required: [operator, selector]
- properties:
all: {}
required: [all]
- properties:
any: {}
required: [any]

- op: add
path: /spec/versions/0/schema/openAPIV3Schema/properties/spec/properties/identity/items/properties/when/items/oneOf
Expand Down
8 changes: 8 additions & 0 deletions install/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2474,6 +2474,14 @@ spec:
required:
- operator
- selector
- properties:
all: {}
required:
- all
- properties:
any: {}
required:
- any
properties:
all:
description: A list of pattern expressions to be evaluated as
Expand Down

0 comments on commit 4bfd327

Please sign in to comment.