From bfb7130275822132323e158e37d65b44e328ddd6 Mon Sep 17 00:00:00 2001 From: Jeff Gustafson Date: Thu, 15 May 2025 14:33:34 -0700 Subject: [PATCH] Fix validation when using registries running on other parts (e.g. internal registries running on port 5000) --- config/crd/bases/database.marklogic.com_marklogicclusters.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/crd/bases/database.marklogic.com_marklogicclusters.yaml b/config/crd/bases/database.marklogic.com_marklogicclusters.yaml index c4df8cb..5a96e47 100644 --- a/config/crd/bases/database.marklogic.com_marklogicclusters.yaml +++ b/config/crd/bases/database.marklogic.com_marklogicclusters.yaml @@ -11004,7 +11004,7 @@ spec: - message: HAProxy and Pathbased Routing is enabled. PathBasedRouting is only supported for MarkLogic 11.1 and above rule: '!(self.haproxy.enabled == true && self.haproxy.pathBasedRouting - == true) || int(self.image.split('':'')[1].split(''.'')[0] + self.image.split('':'')[1].split(''.'')[1]) + == true) || int(self.image.split('':'')[size(self.image.split('':'')) - 1].split(''.'')[0] + self.image.split('':'')[size(self.image.split('':'')) - 1].split(''.'')[1]) >= 111' status: description: MarklogicClusterStatus defines the observed state of MarklogicCluster