building cluster-autoscaler with clusterapi build tag fails #6489
Labels
kind/bug
Categorizes issue or PR as related to a bug.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Which component are you using?:
cluster-autoscaler
What version of the component are you using?:
Component version: master
What k8s version are you using (
kubectl version
)?:n/a
What environment is this in?:
this is during the build process, not while running, i ran the following:
What did you expect to happen?:
expect that the cluster autoscaler binary is built
What happened instead?:
i get an error
How to reproduce it (as minimally and precisely as possible):
cd cluster-autoscaler
go build --tags clusterapi -o ./cluster-autoscaler-amd64
Anything else we need to know?:
the fix is relatively simple, update the
buildCloudProvider
function in thecloudprovider/builder/builder_clusterapi.go
fileThe text was updated successfully, but these errors were encountered: