Skip to content

Commit

Permalink
Bump k8s.io/client-go from 0.29.2 to 0.32.0 (#667)
Browse files Browse the repository at this point in the history
* Bump k8s.io/client-go from 0.29.2 to 0.32.0

Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.29.2 to 0.32.0.
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](kubernetes/client-go@v0.29.2...v0.32.0)

---
updated-dependencies:
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update goreleaser config

Signed-off-by: Nikos Tsipinakis <[email protected]>

* golangci-lint: Replace deprecated linter

Signed-off-by: Nikos Tsipinakis <[email protected]>

* Remove validation checking of Port

Since it is declared as a uint16 any value is valid

Signed-off-by: Nikos Tsipinakis <[email protected]>

* Add linter exception for logger false-positive

Signed-off-by: Nikos Tsipinakis <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Nikos Tsipinakis <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nikos Tsipinakis <[email protected]>
  • Loading branch information
dependabot[bot] and tsipinakis authored Dec 14, 2024
1 parent e1e2a63 commit 877781f
Show file tree
Hide file tree
Showing 6 changed files with 100 additions and 120 deletions.
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ linters:
- asciicheck
- bodyclose
- dupl
- exportloopref
- copyloopvar
- dogsled
- importas
- nilerr
Expand Down Expand Up @@ -36,4 +36,4 @@ linters-settings:
checks:
- all
issues:
exclude-use-default: false
exclude-use-default: false
5 changes: 3 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version: 2
before:
hooks:
- go vet
Expand Down Expand Up @@ -66,12 +67,12 @@ nfpms:
- deb
- rpm
- apk
empty_folders:
- /etc/containerssh
bindir: /usr/sbin
suggests:
- docker
contents:
- dst: /etc/containerssh
type: dir
- src: config.example.yaml
dst: /etc/containerssh/config.yaml
type: config
Expand Down
3 changes: 0 additions & 3 deletions config/sshproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ func (c SSHProxyConfig) Validate() error {
if c.Server == "" {
return newError("server", "server cannot be empty")
}
if c.Port == 0 || c.Port > 65535 {
return newError("port", "invalid port number: %d", c.Port)
}
if c.Username == "" && !c.UsernamePassThrough {
return newError("username", "username cannot be empty when usernamePassThrough is not set")
}
Expand Down
58 changes: 30 additions & 28 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module go.containerssh.io/libcontainerssh

go 1.21
go 1.23.0

toolchain go1.23.4

require (
github.com/aws/aws-sdk-go v1.51.32
Expand All @@ -10,7 +12,7 @@ require (
github.com/docker/docker v20.10.18+incompatible
github.com/docker/go-connections v0.5.0
github.com/fxamacker/cbor v1.5.1
github.com/fxamacker/cbor/v2 v2.6.0
github.com/fxamacker/cbor/v2 v2.7.0
github.com/google/go-cmp v0.6.0
github.com/google/uuid v1.6.0
github.com/gorilla/schema v1.4.1
Expand All @@ -21,13 +23,13 @@ require (
github.com/oschwald/geoip2-golang v1.9.0
github.com/qdm12/reprint v0.0.0-20200326205758-722754a53494
github.com/stretchr/testify v1.9.0
golang.org/x/crypto v0.23.0
golang.org/x/sys v0.20.0
golang.org/x/crypto v0.28.0
golang.org/x/sys v0.26.0
gopkg.in/jcmturner/goidentity.v3 v3.0.0
gopkg.in/yaml.v3 v3.0.1
k8s.io/api v0.29.3
k8s.io/apimachinery v0.29.3
k8s.io/client-go v0.29.2
k8s.io/api v0.32.0
k8s.io/apimachinery v0.32.0
k8s.io/client-go v0.32.0
sigs.k8s.io/kind v0.23.0
sigs.k8s.io/yaml v1.4.0
)
Expand All @@ -36,14 +38,14 @@ require (
github.com/BurntSushi/toml v1.3.2 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/alessio/shellescape v1.4.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/emicklei/go-restful/v3 v3.11.2 // indirect
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-openapi/jsonpointer v0.20.2 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/jsonreference v0.20.4 // indirect
github.com/go-openapi/swag v0.22.9 // indirect
github.com/go-openapi/swag v0.23.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/gnostic-models v0.6.8 // indirect
Expand All @@ -62,7 +64,7 @@ require (
github.com/json-iterator/go v1.1.12 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/moby/spdystream v0.2.0 // indirect
github.com/moby/spdystream v0.5.0 // indirect
github.com/moby/term v0.0.0-20200312100748-672ec06f55cd // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
Expand All @@ -74,26 +76,26 @@ require (
github.com/pborman/uuid v1.2.1 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/spf13/cobra v1.8.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/x448/float16 v0.8.4 // indirect
golang.org/x/mod v0.15.0 // indirect
golang.org/x/net v0.23.0 // indirect
golang.org/x/oauth2 v0.17.0 // indirect
golang.org/x/term v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/tools v0.18.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/protobuf v1.33.0 // indirect
golang.org/x/mod v0.21.0 // indirect
golang.org/x/net v0.30.0 // indirect
golang.org/x/oauth2 v0.23.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/term v0.25.0 // indirect
golang.org/x/text v0.19.0 // indirect
golang.org/x/time v0.7.0 // indirect
golang.org/x/tools v0.26.0 // indirect
google.golang.org/protobuf v1.35.1 // indirect
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gotest.tools/v3 v3.0.3 // indirect
k8s.io/klog/v2 v2.120.1 // indirect
k8s.io/kube-openapi v0.0.0-20240209001042-7a0d5b415232 // indirect
k8s.io/utils v0.0.0-20240102154912-e7106e64919e // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
k8s.io/klog/v2 v2.130.1 // indirect
k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f // indirect
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 // indirect
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.2 // indirect
)
Loading

0 comments on commit 877781f

Please sign in to comment.