From bb02811275c61dcfe18d3dbd12d692f516892167 Mon Sep 17 00:00:00 2001 From: Harald Musum Date: Wed, 30 Oct 2024 19:27:26 +0100 Subject: [PATCH] Revert "Reduce max vault name length from 64 to 24" --- .../src/main/java/ai/vespa/secret/model/VaultName.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container-disc/src/main/java/ai/vespa/secret/model/VaultName.java b/container-disc/src/main/java/ai/vespa/secret/model/VaultName.java index b235f065d062..32392b396b61 100644 --- a/container-disc/src/main/java/ai/vespa/secret/model/VaultName.java +++ b/container-disc/src/main/java/ai/vespa/secret/model/VaultName.java @@ -9,7 +9,7 @@ */ public class VaultName extends PatternedStringWrapper { - private static final Pattern namePattern = Pattern.compile("[.a-zA-Z0-9_-]{1,24}"); + private static final Pattern namePattern = Pattern.compile("[.a-zA-Z0-9_-]{1,64}"); private VaultName(String name) { super(name, namePattern, "Vault name");