From 4bfd3277aa5a43a03ccdb4610b412ed0b8143ac5 Mon Sep 17 00:00:00 2001 From: Guilherme Cassolato Date: Wed, 27 Sep 2023 13:17:31 +0200 Subject: [PATCH] fix: missing one-of constraint of top-level when conditions --- install/crd/patches/oneof_in_authconfigs.yaml | 6 ++++++ install/manifests.yaml | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/install/crd/patches/oneof_in_authconfigs.yaml b/install/crd/patches/oneof_in_authconfigs.yaml index 8f61a5c8..0334253e 100644 --- a/install/crd/patches/oneof_in_authconfigs.yaml +++ b/install/crd/patches/oneof_in_authconfigs.yaml @@ -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 diff --git a/install/manifests.yaml b/install/manifests.yaml index 01776178..9a8c3712 100644 --- a/install/manifests.yaml +++ b/install/manifests.yaml @@ -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