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 31, 2024
1 parent 2b8b98e commit 94c28bd
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 94c28bd

Please sign in to comment.