eraser
eraser copied to clipboard
refactor to use Go 1.18 buildinfo instead of LDFLAGS for passing in version
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
):