Commit Graph

5 Commits

Author SHA1 Message Date
Dave Protasowski 4e27b2e680
bump min k8s version to 1.32 (#3184)
* bump version strings

* bump go.mod

* run ./hack/update-deps.sh

* run ./hack/update-codegen.sh

* fix build

* fix fuzzing lib change

* switch fuzzers to use randfill

* run ./hack/update-deps.sh

* gofumpt file

* fix webhook build on go1.24

* ignore endpoint deprecation

* disable a staticcheck that isn't really that bad

* fix nolint directives

* don't use deprecated List and WatchFuncs

* fix deprecation of gengo.ExtractCommentTags

* apply demorgan's law where it makes sense
2025-06-10 21:07:45 +00:00
Dave Protasowski ee1db869c7
Update linter config and address lint warnings/failures (#3068)
* fix whitespace linter

* fix usestdlibvars

* fix staticheck

* ignore spancheck warning

* fix linter perfsprint

* fix nolintlint feedback

* fix nilerr lint checks

* fix misspell

* fix mirror lint

* fix intrange linter

* fix gofumpt linter

* fix gosec linter - ignore warning since default min tls version is 1.3

* fix gocritic linter

* fix whitespace

* fix fatcontext linter

* fix errorlint

* fix errname linter

* fix copyloopvar (go1.22) linter

* fix bodyclose linter

* update linter config

* add script to format code

* fix unit test
2024-06-25 14:49:36 +00:00
Dave Protasowski 8535fcc248
gofumpt the repo (#3067)
* gofumpt the repo

* don't prefix numbers with 0 - otherwise they're octal
2024-06-25 07:27:07 +00:00
Dave Protasowski dec98b4261
fix a small lint warning (#2270) 2021-09-02 22:55:57 -07:00
Dave Protasowski 0482448aac
allow unknown metadata fields (#2249)
* allow unknown metadata fields

* fix lint warnings

* include tests for nested structures in the metadata value
this is for catching any regressions
2021-09-02 07:33:06 -07:00