From 1bb807e412e1aaaef7ba1ac6d732a45c37678ff8 Mon Sep 17 00:00:00 2001 From: Vaughn Dice Date: Tue, 10 Sep 2024 12:08:31 +0200 Subject: [PATCH] fix(marketplace): limit extension name to 14 characters Signed-off-by: Vaughn Dice --- marketplace/createUIDefinition.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/marketplace/createUIDefinition.json b/marketplace/createUIDefinition.json index 947cad8..56fed78 100644 --- a/marketplace/createUIDefinition.json +++ b/marketplace/createUIDefinition.json @@ -224,11 +224,11 @@ "type": "Microsoft.Common.TextBox", "label": "Cluster extension resource name", "defaultValue": "", - "toolTip": "Only lowercase alphanumeric characters are allowed, and the value must be 6-30 characters long.", + "toolTip": "Only lowercase alphanumeric characters are allowed, and the value must be 6-14 characters long.", "constraints": { "required": true, - "regex": "^[a-z0-9]{6,30}$", - "validationMessage": "Only lowercase alphanumeric characters are allowed, and the value must be 6-30 characters long." + "regex": "^[a-z0-9]{6,14}$", + "validationMessage": "Only lowercase alphanumeric characters are allowed, and the value must be 6-14 characters long." }, "visible": true }