Skip to content

Commit 978e469

Browse files
fbm3307cursoragent
andauthored
Add PhoneLookupMode to ToolchainConfig CRD (#1268)
* Add PhoneLookupMode to ToolchainConfig CRD - Dispatch updated CRD YAML with phoneLookupMode field (disabled/log/enabled) Signed-off-by: Feny Mehta <fbm3307@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent df355ef commit 978e469

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

config/crd/bases/toolchain.dev.openshift.com_toolchainconfigs.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,25 @@ spec:
356356
NotificationSender is used to specify which service should be used to send verification notifications. Allowed
357357
values are "twilio", "aws". If not specified, the Twilio sender will be used.
358358
type: string
359+
phoneLookupExcludedCountries:
360+
description: |-
361+
PhoneLookupExcludedCountries is a list of ISO 3166-1 alpha-2 country codes (e.g. ["CA", "US"])
362+
for which Twilio Lookup should be skipped.
363+
items:
364+
type: string
365+
type: array
366+
x-kubernetes-list-type: set
367+
phoneLookupMode:
368+
default: log
369+
description: |-
370+
PhoneLookupMode controls how the registration service handles Twilio Lookup v2 phone risk checks.
371+
Valid values are "disabled" (skip Lookup entirely), "log" (call Lookup and store results but don't block),
372+
and "enabled" (call Lookup and enforce blocking). Defaults to "log".
373+
enum:
374+
- disabled
375+
- log
376+
- enabled
377+
type: string
359378
secret:
360379
description: Defines all secrets related to the registration
361380
service verification configuration

0 commit comments

Comments
 (0)