Skip to content

Commit 55c6dc4

Browse files
committed
fix version comparison
Signed-off-by: zhangzujian <[email protected]>
1 parent bdcee03 commit 55c6dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/kube-ovn/templates/_helpers.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Number of master nodes
6767
22.12
6868
{{- else if and (regexFind $versionRegex $imageVersion | semverCompare ">= 1.11.0") (regexFind $versionRegex $imageVersion | semverCompare "<= 1.11.18") -}}
6969
22.03
70-
{{- else -}}
70+
{{- else if regexFind $versionRegex $imageVersion | semverCompare "< 1.11.0" -}}
7171
21.06
7272
{{- end -}}
7373
{{- end -}}

0 commit comments

Comments
 (0)