Skip to content

Commit b06b79a

Browse files
arya-girish-kArya Girish K
andauthored
fix: Reverted UI regex capability (#764)
Co-authored-by: Arya Girish K <[email protected]>
1 parent 7b12ee3 commit b06b79a

File tree

1 file changed

+4
-24
lines changed

1 file changed

+4
-24
lines changed

ibm_catalog.json

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,7 @@
190190
},
191191
{
192192
"key": "prefix",
193-
"required": true,
194-
"value_constraint": {
195-
"type": "regex",
196-
"description": "Prefix must begin with a lowercase letter and may contain only lowercase letters, digits, and hyphens '-'. It must not end with a hyphen('-'), and cannot contain consecutive hyphens ('--'). It should not exceed 16 characters",
197-
"value": "^$|^__NULL__$|^[a-z](?!.*--)[a-z0-9-]{0,14}[a-z0-9]$"
198-
}
193+
"required": true
199194
},
200195
{
201196
"key": "cluster_name",
@@ -660,20 +655,10 @@
660655
"key": "kms_encryption_enabled_cluster"
661656
},
662657
{
663-
"key": "existing_kms_instance_crn",
664-
"value_constraint": {
665-
"type": "regex",
666-
"description": "The value provided for 'existing_kms_instance_crn' is not valid.",
667-
"value": "^__NULL__$|^crn:(.*:){3}(kms|hs-crypto):(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}::$"
668-
}
658+
"key": "existing_kms_instance_crn"
669659
},
670660
{
671-
"key": "existing_cluster_kms_key_crn",
672-
"value_constraint": {
673-
"type": "regex",
674-
"description": "The value provided for 'existing_cluster_kms_key_crn' in not valid.",
675-
"value": "^__NULL__$|^crn:(.*:){3}(kms|hs-crypto):(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}:key:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
676-
}
661+
"key": "existing_cluster_kms_key_crn"
677662
},
678663
{
679664
"key": "kms_endpoint_type",
@@ -699,12 +684,7 @@
699684
"key": "kms_encryption_enabled_boot_volume"
700685
},
701686
{
702-
"key": "existing_boot_volume_kms_key_crn",
703-
"value_constraint": {
704-
"type": "regex",
705-
"description": "The value provided for 'existing_boot_volume_kms_key_crn' in not valid.",
706-
"value": "^__NULL__$|^crn:(.*:){3}(kms|hs-crypto):(.*:){2}[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}:key:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
707-
}
687+
"key": "existing_boot_volume_kms_key_crn"
708688
},
709689
{
710690
"key": "boot_volume_kms_key_name"

0 commit comments

Comments
 (0)