Commit Graph

18 Commits (master)

Author SHA1 Message Date
elijahomolo 97dc16097f update dependencies 2022-10-13 12:24:55 -04:00
Moritz Rieger 9a9b9e64d0 update k8s.io/client-go@v0.24.3
go get k8s.io/client-go@v0.24.3
go mod tidy
go mod vendor
2022-08-04 10:52:49 +02:00
Dylan Scott a8c53040ec
CON-5812 Extend clusterlint to raise an error-level violation when invalid snapshots are found (#143) 2022-07-04 17:53:02 +01:00
Dylan Scott 9617526dcc
CON-6265 Update Kubernetes dependencies in clusterlint (#142)
Co-authored-by: Dylan Scott <dscott@digitalocean.com>
2022-05-18 15:02:51 +01:00
Ingo Gottwald 3032659810 Don't let client-go leak memory 2022-04-07 12:37:44 +02:00
Collin Shoop b1be746dfa Upgrade kubernetes dependencies to 0.22.5 2022-01-11 12:12:34 -05:00
Timo Reimann 8e59edeb32
Update dependencies to fix crash on Go 1.17 (#126)
When running clusterlint on Go 1.17, it panics right on startup. The
issue is our usage of github.com/mattn/go-isatty (consumed by
github.com/fatih/color) which had a bug until [1]. Updating to the
latest v0.0.14 release fixes the issue.

Also bump the minimum (library) dependency to 1.16 in go.mod since that
is the oldest, officially supported Go version. Bumping to 1.17 actually
enables us to fix the issue by simply updating to the latest
github.com/fatih/color, as opposed to adding an indirect import of
github.com/mattn/go-isatty which this change does right now (which I
suppose works due to Go 1.17 module management improvements); however,
that'd come at the price of breaking compatibility with 1.16 users which
is non-ideal.
Regardless, update github.com/fatih/color as well while we're here.

Also bump the version of the Go image used for testing.

[1] https://github.com/mattn/go-isatty/pull/66
2021-09-19 16:52:07 +02:00
Adam Wolfe Gordon 4712329589 Update Kubernetes dependencies to 1.21.2 2021-06-21 16:34:20 -06:00
Adam Wolfe Gordon 876d506b00 vendor: Bump Kubernetes dependencies to v0.20.2 2021-02-05 11:58:32 -07:00
Wayne Warren d2ecf0fec6 vendor: update k8s deps to 1.19.3 2020-10-29 18:25:28 -05:00
Varsha Varadarajan ee3fb78aac Update k8s deps to 0.18.3 2020-06-15 09:55:21 -07:00
Varsha Varadarajan ebb738cc25 upgrade k8s.io modules to 0.17.3, upgrade others to latest 2020-06-11 11:39:26 -07:00
Ben Gadbois e09d86d508 modules: upgrade k8s.io/client-go to kubernetes-1.16.2 2019-11-18 12:21:06 -08:00
ibrasho d5dea303c5 Load k8s client-go auth plugins
Signed-off-by: ibrasho <me@ibrasho.com>
2019-08-10 13:03:05 +03:00
Varsha Varadarajan 48d5d0b6f2 Add github.com/fatih/color to vendor 2019-07-02 19:18:45 -04:00
Varsha Varadarajan d1469a006c Fully qualified image: Check if container uses fully qualified image names 2019-06-20 10:17:56 -04:00
Varsha Varadarajan c1c27fd576 Add run command to run all checks
* Optionally takes in a group flag to filter checks by group name.
* Optionally takes in a name flag to run a specific check.
2019-06-12 13:17:47 -04:00
Adam Wolfe Gordon f63933a0eb Create check registry with initial noop check, and vendor dependencies
Factor the KubeObjects type out of package main and into the top-level
clusterlint package. For now still populate it in main, though we'll
likely want to pull this out later.

Add a check type that checks will implement, and implement an initial
noop check that satisfies it. Create a registry for checks.

Vendor dependencies so that we can do a consistent build. For now we're
depending on the master version of client-go since they don't have a
release that supports modules yet, but we should move to a release once
they do.
2019-06-11 14:25:39 -04:00