Skip to content

Commit

Permalink
fix version comparison
Browse files Browse the repository at this point in the history
Signed-off-by: zhangzujian <[email protected]>
  • Loading branch information
zhangzujian committed Jul 12, 2024
1 parent bdcee03 commit 55c6dc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kube-ovn/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Number of master nodes
22.12
{{- else if and (regexFind $versionRegex $imageVersion | semverCompare ">= 1.11.0") (regexFind $versionRegex $imageVersion | semverCompare "<= 1.11.18") -}}
22.03
{{- else -}}
{{- else if regexFind $versionRegex $imageVersion | semverCompare "< 1.11.0" -}}
21.06
{{- end -}}
{{- end -}}
Expand Down

0 comments on commit 55c6dc4

Please sign in to comment.