Skip to content

Commit 70410b7

Browse files
amrkk123q2w
andauthored
fix: Adding regex validation for name (#164)
Co-authored-by: abhishek kumar tiwari <[email protected]>
1 parent 2eaadb7 commit 70410b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/simple-sa/metadata.display.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ spec:
3939
name:
4040
name: name
4141
title: Name
42+
regexValidation: ^[a-z][a-z0-9-]{4,28}[a-z0-9]$
43+
validation: Name must be 6–30 characters, start with a lowercase letter, and contain only lowercase letters, numbers, or hyphens. It must end with a lowercase letter or number.
4244
project_id:
4345
name: project_id
4446
title: Project Id

0 commit comments

Comments
 (0)