From a8e0f015ea91859163ac9befad8a6e8ac68dec9a Mon Sep 17 00:00:00 2001 From: sskaje Date: Tue, 11 Mar 2025 21:33:46 +0800 Subject: T7092: Change validators: regex to host-name|address + port + path --- interface-definitions/container.xml.in | 46 +++++++++++++++++++++++++++++----- 1 file changed, 40 insertions(+), 6 deletions(-) (limited to 'interface-definitions') diff --git a/interface-definitions/container.xml.in b/interface-definitions/container.xml.in index c8d4bbdd1..a17777af0 100644 --- a/interface-definitions/container.xml.in +++ b/interface-definitions/container.xml.in @@ -544,14 +544,48 @@ - + - Registry mirror, use host[:port][/path] - - ^(?:[[:alnum:]-]+(?:\.[[:alnum:]-]+)*|(?:[[:digit:]]{1,3}\.){3}[[:digit:]]{1,3}|\[[[:xdigit:]:]+])(?::[[:digit:]]{1,5})?(?:\/[^[:space:]?#]*)?$ - + Registry mirror, use host-name|address[:port][/path] - + + + + IP address of container registry mirror + + ipv4 + IPv4 address of container registry mirror + + + ipv6 + IPv6 address of container registry mirror + + + + + + + + + + Hostname of container registry mirror + + hostname + FQDN of container registry mirror + + + + + + + #include + + + Path of container registry mirror, optional, must be start with '/' if not empty + + + + -- cgit v1.2.3