fix(deps): update kubernetes packages to v0.31.0 #2120
Annotations
10 errors
golangci-lint:
src/server/webhook.go#L126
assignOp: replace `path = path + "/-"` with `path += "/-"` (gocritic)
|
golangci-lint:
src/server/webhook_test.go#L34
wrapperFunc: use bytes.ReplaceAll method in `bytes.Replace(makeTestData(t, "default"), []byte("\"object\""), []byte("\"foo\""), -1)` (gocritic)
|
golangci-lint:
cmd/server/main.go#L39
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(appName, "-", "_", -1)` (gocritic)
|
golangci-lint:
cmd/server/main.go#L37
cyclomatic complexity 13 of func `main` is high (> 10) (gocyclo)
|
golangci-lint:
src/server/webhook_test.go#L114
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
|
golangci-lint:
src/server/webhook_test.go#L146
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
|
golangci-lint:
cmd/server/main.go#L67
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
|
golangci-lint:
cmd/server/main.go#L72
G402: TLS MinVersion too low. (gosec)
|
golangci-lint:
cmd/server/main.go#L82
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
|
golangci-lint:
src/server/readiness_probe_test.go#L31
unnecessary conversion (unconvert)
|
Loading