From 1967d0cd68a30ee77752cec0d1de6defa59d79df Mon Sep 17 00:00:00 2001 From: liyanzhao Date: Tue, 3 Sep 2019 18:30:01 +0800 Subject: [PATCH] Support full-chain registry CA check (#8580) --- lib/apiservers/service/swagger.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/apiservers/service/swagger.json b/lib/apiservers/service/swagger.json index 35b632e388..0ff0ce3c31 100644 --- a/lib/apiservers/service/swagger.json +++ b/lib/apiservers/service/swagger.json @@ -633,7 +633,7 @@ }, "PEM": { "type": "string", - "pattern": "^.*-----BEGIN [A-Z ]+-----\\s+[A-Za-z0-9+\/\\s]+={0,2}\\s+-----END [A-Z ]+-----\\s*$" + "pattern": "^(.*-----BEGIN [A-Z ]+-----\\s+[A-Za-z0-9+\/\\s]+={0,2}\\s+-----END [A-Z ]+-----\\s*)+$" }, "X509_Data": { "type": "object",