Skip to content

Commit

Permalink
bump deps & k8s to v0.29.7 (#6035)
Browse files Browse the repository at this point in the history
Signed-off-by: Zbynek Roubalik <[email protected]>
Co-authored-by: Jorge Turrado Ferrero <[email protected]>
  • Loading branch information
zroubalik and JorTurFer authored Aug 5, 2024
1 parent 53e015a commit 800a541
Show file tree
Hide file tree
Showing 1,436 changed files with 53,932 additions and 28,963 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ New deprecation(s):

### Other

- TODO ([#XXX](https://github.com/kedacore/keda/issues/XXX))
- **General**: Bump deps and k8s deps to 0.29.7 ([#6035](https://github.com/kedacore/keda/pull/6035))

## v2.15.0

Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/eventing.keda.sh_cloudeventsources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: cloudeventsources.eventing.keda.sh
spec:
group: eventing.keda.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: clustertriggerauthentications.keda.sh
spec:
group: keda.sh
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/keda.sh_scaledjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: scaledjobs.keda.sh
spec:
group: keda.sh
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/keda.sh_scaledobjects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: scaledobjects.keda.sh
spec:
group: keda.sh
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/keda.sh_triggerauthentications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.14.0
controller-gen.kubebuilder.io/version: v0.15.0
name: triggerauthentications.keda.sh
spec:
group: keda.sh
Expand Down
268 changes: 134 additions & 134 deletions go.mod

Large diffs are not rendered by default.

1,203 changes: 246 additions & 957 deletions go.sum

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions pkg/metricsservice/api/metrics.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 21 additions & 9 deletions pkg/metricsservice/api/metrics_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pkg/mock/mock_eventemitter/mock_interface.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/scalers/authentication/authentication_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func CreateHTTPRoundTripper(roundTripperType TransportType, auth *AuthMeta, conf
rt = pConfig.NewBasicAuthRoundTripper(
auth.Username,
pConfig.Secret(auth.Password),
"", roundTripper,
"", "", roundTripper,
)
}

Expand Down
6 changes: 3 additions & 3 deletions pkg/scalers/external_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ func getClientForConnectionPool(metadata externalScalerMetadata, logger logr.Log
if err != nil {
return nil, err
}
return grpc.Dial(metadata.scalerAddress,
return grpc.NewClient(metadata.scalerAddress,
grpc.WithDefaultServiceConfig(grpcConfig),
grpc.WithTransportCredentials(creds))
}
Expand All @@ -326,12 +326,12 @@ func getClientForConnectionPool(metadata externalScalerMetadata, logger logr.Log

if len(tlsConfig.Certificates) > 0 || metadata.caCert != "" {
// nosemgrep: go.grpc.ssrf.grpc-tainted-url-host.grpc-tainted-url-host
return grpc.Dial(metadata.scalerAddress,
return grpc.NewClient(metadata.scalerAddress,
grpc.WithDefaultServiceConfig(grpcConfig),
grpc.WithTransportCredentials(credentials.NewTLS(tlsConfig)))
}

return grpc.Dial(metadata.scalerAddress,
return grpc.NewClient(metadata.scalerAddress,
grpc.WithDefaultServiceConfig(grpcConfig),
grpc.WithTransportCredentials(insecure.NewCredentials()))
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/scalers/external_scaler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func TestWaitForState(t *testing.T) {
}()

// build client connect to server
grpcClient, err := grpc.Dial(address,
grpcClient, err := grpc.NewClient(address,
grpc.WithDefaultServiceConfig(grpcConfig),
grpc.WithTransportCredentials(insecure.NewCredentials()))
if err != nil {
Expand Down
20 changes: 10 additions & 10 deletions pkg/scalers/externalscaler/externalscaler.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 800a541

Please sign in to comment.