Update to Go 1.18
The previous image no longer built with Go 1.16, and Go 1.16 is no longer receiving security updates.
The K8S libraries need to be updated for Go 1.18, or the tests don't start up properly.
This also updates logr for v1.2.3. The Logger type changed: https://github.com/go-logr/logr/issues/142.
Relates to gitlab-org/gitlab-build-images#114 (closed)
Edited by Stan Hu