This changes is similar to what we did in thanos-recieve-controller #82 and essentially, trying to improve our situation in regards to production readiness.
I've update the Go version to 1.17 and upgrade our dependencies, some of which were deprecated or contained vulnerabilities.
The linter version has been updated because the older version was not executable on OS X.
To keep in sync with our other components and to reduce the attack surface of the image I've updated to using a scratch image. I had a quick look at the code and can't see any reason why this would be an issue but perhaps I missed something in that regards.
This changes is similar to what we did in thanos-recieve-controller #82 and essentially, trying to improve our situation in regards to production readiness.
I've update the Go version to 1.17 and upgrade our dependencies, some of which were deprecated or contained vulnerabilities.
The linter version has been updated because the older version was not executable on OS X.
To keep in sync with our other components and to reduce the attack surface of the image I've updated to using a
scratch
image. I had a quick look at the code and can't see any reason why this would be an issue but perhaps I missed something in that regards.