fixed helm chart
All checks were successful
the build was successful

This commit is contained in:
ston1th 2019-01-18 21:54:13 +01:00
commit 10ad216fcf
7 changed files with 41 additions and 10 deletions

3
srv.go
View file

@ -15,6 +15,9 @@ import (
var version string
func main() {
http.HandleFunc("/healthz", func(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
})
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
log.Printf("%s %s %s", r.RemoteAddr, r.Method, r.URL)
h, err := os.Hostname()