-
Notifications
You must be signed in to change notification settings - Fork 50
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
add build info metric #67
add build info metric #67
Conversation
abe7ce3
to
c136eac
Compare
internal/version/version.go
Outdated
GitCommit = "unknown" | ||
Version = "unknown" | ||
GitCommit = "unknown" | ||
GitVersion = "unknown" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this set anywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not. I'm actually looking at improving the version handling now. I think we should leave this PR open until we have better version number handling in place that accounts for both the main helm-operator
binary and projects that import this repo and need to use the plugin to scaffold Makefile and Dockerfile with appropriate version numbers.
I think debug.ReadBuildInfo()
may be useful to us.
80ab2bf
to
cbbf05e
Compare
SDK update from: Build info metric: operator-framework/operator-sdk#4220