Skip to content

Commit

Permalink
Merge pull request #432 from Kuadrant/fix/one-of-constraint-when-cond…
Browse files Browse the repository at this point in the history
…itions

fix: missing one-of constraint of top-level when conditions
  • Loading branch information
guicassolato authored Sep 27, 2023
2 parents 991af36 + 4bfd327 commit eecd82e
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 eecd82e

Please sign in to comment.