-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Description
Feature Request
Is your feature request related to a problem? Please describe.
I want to include Git commit hash in the operator binary. It can be injected as a build-time value as described in this blog: https://blog.alexellis.io/inject-build-time-vars-golang/
This requires a way to specify Go build arguments in the operator-sdk build command.
Describe the solution you'd like
The flag could be similar to what is used in up local sub-command: operator-sdk up local --go-ldflags.
Earlier I have added this feature request as a comment here: #1404 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.