Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix metrics-server build for v0.7.0 #35

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

manuelbuil
Copy link
Contributor

@manuelbuil manuelbuil commented Feb 29, 2024

This PR does three things:
1 - Upgrades to v0.7.0
2 - Adds -modfile=scripts/go.mod which is included in upstream too. Otherwise v0.7.0 fails to build
3 - Fixes the Makefile. If you add tabs to the Makefile the interpreter things it is a recipe and thus, if we follow the README (which is wrong because it does not add a (BUILD) metadata, we get the error:

*** recipe commences before first target.  Stop.

As the README has been wrong for a long time and nobody realized, it feels like we don't need that instruction. Anyway, the Makefile is pretty simple and just running 'make' works

@manuelbuil manuelbuil merged commit 9f647ad into rancher:master Feb 29, 2024
1 check passed
@manuelbuil manuelbuil deleted the fixMetricsServer branch February 29, 2024 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants