Helm chart: fix semverCompare issue with certain version formats
{{- $vkargs := .Values.virtualKubelet.extra.args }}
{{- /* Enable the API support only in for Kubernetes versions < 1.24 (due to lack of support for third party tokens), if not overridden by the user */ -}}
-{{- if semverCompare "< 1.24.0" .Capabilities.KubeVersion.Version }}
+{{- if semverCompare "< 1.24.0-0" .Capabilities.KubeVersion.Version }}
{{- if not (or (has "--enable-apiserver-support" $vkargs ) (has "--enable-apiserver-support=true" $vkargs ) (has "--enable-apiserver-support=false" $vkargs )) }}
{{- $vkargs = append $vkargs "--enable-apiserver-support=true" }}
{{- end }}
