Skip to content

Commit c65389d

Browse files
Bump sigs.k8s.io/controller-runtime from 0.22.4 to 0.23.0 (#214)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Theodora Tosheva <theodora.tosheva@sap.com>
1 parent caaaa2d commit c65389d

File tree

5 files changed

+63
-100
lines changed

5 files changed

+63
-100
lines changed

.ci/check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ curl -s "https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3"
3333
echo "> Lint helm charts"
3434
make helm-lint
3535

36-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "$(go env GOPATH)"/bin v2.0.2
36+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "$(go env GOPATH)"/bin v2.8.0
3737

3838
echo "> Running golangci-lint"
3939
golangci-lint run --config ./.golangci.yaml --timeout 10m ./...

cmd/oidc-webhook-authenticator/app/oidc_webhook_authenticator.go

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -190,19 +190,16 @@ func newHandler(opts *options.Config, authWH *authentication.Webhook, scheme *ru
190190
healthzPath = "/healthz"
191191
)
192192

193-
var (
194-
oidc = &authenticationv1alpha1.OpenIDConnect{}
195-
defaulterValidator = &defaultervalidator.DefaulterValidator{}
196-
)
193+
defaulterValidator := &defaultervalidator.DefaulterValidator{}
197194

198195
mutatingLogger := ctrl.Log.WithName("webhooks").WithName("Mutating")
199-
defaultingWebhook := admission.WithCustomDefaulter(scheme, oidc, defaulterValidator)
196+
defaultingWebhook := admission.WithDefaulter(scheme, defaulterValidator)
200197
defaultingWebhook.LogConstructor = func(_ logr.Logger, _ *admission.Request) logr.Logger {
201198
return mutatingLogger
202199
}
203200

204201
validatingLogger := ctrl.Log.WithName("webhooks").WithName("Validating")
205-
validatingWebhook := admission.WithCustomValidator(scheme, oidc, defaulterValidator)
202+
validatingWebhook := admission.WithValidator(scheme, defaulterValidator)
206203
validatingWebhook.LogConstructor = func(_ logr.Logger, _ *admission.Request) logr.Logger {
207204
return validatingLogger
208205
}

go.mod

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
module github.com/gardener/oidc-webhook-authenticator
22

3-
go 1.24.0
3+
go 1.25.0
44

55
require (
66
github.com/coreos/go-oidc/v3 v3.15.0
77
github.com/go-jose/go-jose/v4 v4.1.2
88
github.com/go-logr/logr v1.4.3
9-
github.com/onsi/ginkgo/v2 v2.25.1
9+
github.com/onsi/ginkgo/v2 v2.27.2
1010
github.com/onsi/gomega v1.38.2
1111
github.com/prometheus/client_golang v1.23.2
1212
github.com/spf13/cobra v1.10.1
1313
github.com/spf13/pflag v1.0.10
1414
golang.org/x/time v0.13.0
15-
k8s.io/api v0.34.1
16-
k8s.io/apimachinery v0.34.1
17-
k8s.io/apiserver v0.34.1
18-
k8s.io/client-go v0.34.1
19-
k8s.io/component-base v0.34.1
15+
k8s.io/api v0.35.0
16+
k8s.io/apimachinery v0.35.0
17+
k8s.io/apiserver v0.35.0
18+
k8s.io/client-go v0.35.0
19+
k8s.io/component-base v0.35.0
2020
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4
21-
sigs.k8s.io/controller-runtime v0.22.4
21+
sigs.k8s.io/controller-runtime v0.23.0
2222
)
2323

2424
require (
@@ -53,7 +53,6 @@ require (
5353
github.com/go-openapi/swag/typeutils v0.25.1 // indirect
5454
github.com/go-openapi/swag/yamlutils v0.25.1 // indirect
5555
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
56-
github.com/gogo/protobuf v1.3.2 // indirect
5756
github.com/google/btree v1.1.3 // indirect
5857
github.com/google/cel-go v0.26.1 // indirect
5958
github.com/google/gnostic-models v0.7.0 // indirect
@@ -82,13 +81,13 @@ require (
8281
go.opentelemetry.io/otel/sdk v1.38.0 // indirect
8382
go.opentelemetry.io/otel/trace v1.38.0 // indirect
8483
go.opentelemetry.io/proto/otlp v1.8.0 // indirect
85-
go.uber.org/automaxprocs v1.6.0 // indirect
8684
go.uber.org/multierr v1.11.0 // indirect
8785
go.uber.org/zap v1.27.0 // indirect
8886
go.yaml.in/yaml/v2 v2.4.3 // indirect
8987
go.yaml.in/yaml/v3 v3.0.4 // indirect
9088
golang.org/x/crypto v0.45.0 // indirect
9189
golang.org/x/exp v0.0.0-20251002181428-27f1f14c8bb9 // indirect
90+
golang.org/x/mod v0.29.0 // indirect
9291
golang.org/x/net v0.47.0 // indirect
9392
golang.org/x/oauth2 v0.31.0 // indirect
9493
golang.org/x/sync v0.18.0 // indirect
@@ -104,7 +103,7 @@ require (
104103
gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect
105104
gopkg.in/go-jose/go-jose.v2 v2.6.3 // indirect
106105
gopkg.in/inf.v0 v0.9.1 // indirect
107-
k8s.io/apiextensions-apiserver v0.34.1 // indirect
106+
k8s.io/apiextensions-apiserver v0.35.0 // indirect
108107
k8s.io/klog/v2 v2.130.1 // indirect
109108
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 // indirect
110109
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.33.0 // indirect

0 commit comments

Comments
 (0)