eraser icon indicating copy to clipboard operation
eraser copied to clipboard

refactor to use Go 1.18 buildinfo instead of LDFLAGS for passing in version

Open sozercan opened this issue 2 years ago • 0 comments

Describe the solution you'd like [A clear and concise description of what you want to happen.] instead of passing in vcs info through LDFLAGS, we should migrate to use Go 1.18 buildinfo https://tip.golang.org/doc/go1.18#debug/buildinfo

example: https://github.com/open-policy-agent/gatekeeper/pull/2541

Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]

Environment:

  • Eraser version:
  • Kubernetes version: (use kubectl version):

sozercan avatar Jan 30 '23 17:01 sozercan