From 6afda40b93f4c19eb6b6a12e9f53bacf29157d67 Mon Sep 17 00:00:00 2001 From: Erki Aas Date: Wed, 26 Jul 2023 20:25:39 +0300 Subject: [PATCH] oidc: update CRDs --- oidc-gateway/crds.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/oidc-gateway/crds.yml b/oidc-gateway/crds.yml index 67008c4..256a9a6 100644 --- a/oidc-gateway/crds.yml +++ b/oidc-gateway/crds.yml @@ -27,6 +27,8 @@ spec: properties: email: type: string + companyEmail: + type: string customGroups: type: array items: @@ -146,7 +148,7 @@ spec: spec: type: object required: - - redirectUris # TODO: add validation + - redirectUris - grantTypes - responseTypes properties: @@ -158,6 +160,7 @@ spec: type: array items: type: string + pattern: '^(https:\/\/.)[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)$' grantTypes: type: array items: