failed to convert Descheduler minor version to float
on start
#1419
Labels
kind/bug
Categorizes issue or PR as related to a bug.
What version of descheduler are you using?
descheduler version: 0.30.0
Does this issue reproduce with the latest release?
yes
Which descheduler CLI options are you using?
--kubeconfig container/config-staging --policy-config-file container/policy.yaml
Please provide a copy of your descheduler policy config file
What k8s version are you using (
kubectl version
)?kubectl version
OutputWhat did you do?
Start the descheduler
What did you expect to see?
No warning
What did you see instead?
This on every start:
I don't know why the
GitVersion
is used to parse here - it has a format ofv20240519-v0.30.0
. According to the docs ofutilversion.ParseGeneric
:The version it's trying to parse however is this (obtained from
descheduler version
- also see the doublev
):My suggestion would be to either replace
VERSION?=v$(shell date +%Y%m%d)-$(shell git describe --tags)
in the Makefile withVERSION?=$(shell git describe --tags)-$(shell date +%Y%m%d)
(but no idea what other implications that would have) or alternatively just parseversionInfo.Minor
in the descheduler.go. But the way it is right now is just broken.The text was updated successfully, but these errors were encountered: