Skip to content

Commit

Permalink
bump k8s deps
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es>
  • Loading branch information
JorTurFer committed Apr 26, 2024
1 parent cf922ec commit b0f5bff
Show file tree
Hide file tree
Showing 191 changed files with 10,331 additions and 16,610 deletions.
18 changes: 13 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ require (
github.com/newrelic/newrelic-client-go v1.1.0
github.com/onsi/ginkgo/v2 v2.17.1
github.com/onsi/gomega v1.33.0
github.com/open-policy-agent/cert-controller v0.10.1
github.com/open-policy-agent/cert-controller v0.0.0-00010101000000-000000000000
github.com/phayes/freeport v0.0.0-20220201140144-74d24b5ae9f5
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.19.0
Expand Down Expand Up @@ -109,22 +109,30 @@ require (
k8s.io/utils v0.0.0-20240423183400-0849a56e8f22
knative.dev/pkg v0.0.0-20240423132823-3c6badc82748
sigs.k8s.io/controller-runtime v0.18.0
sigs.k8s.io/controller-runtime/tools/setup-envtest v0.0.0-20240426121724-77435913f513
sigs.k8s.io/controller-runtime/tools/setup-envtest v0.0.0-20240201105228-4000e996a202
sigs.k8s.io/controller-tools v0.15.0
sigs.k8s.io/custom-metrics-apiserver v1.28.1-0.20240103150633-c0d09c9b6dd1
sigs.k8s.io/custom-metrics-apiserver v1.28.1-0.20240425173932-1a855fe8c789
sigs.k8s.io/kustomize/kustomize/v5 v5.4.1
)

require (
github.com/antlr4-go/antlr/v4 v4.13.0 // indirect
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df // indirect
github.com/gorilla/websocket v1.5.1 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
k8s.io/gengo/v2 v2.0.0-20240228010128-51d4e06bde70 // indirect
)

// Remove this when they merge the PR and cut a release https://github.com/open-policy-agent/cert-controller/pull/202
replace github.com/open-policy-agent/cert-controller => github.com/jorturfer/cert-controller v0.0.0-20240426213710-a54eeff1a56b

// Remove this when k8s deps are aligned with the prometheus version
replace (
github.com/prometheus/client_golang => github.com/prometheus/client_golang v1.16.0
github.com/prometheus/client_model => github.com/prometheus/client_model v0.4.0
github.com/prometheus/common => github.com/prometheus/common v0.44.0
)

replace (
// we need a version with a proper license
github.com/chzyer/logex => github.com/chzyer/logex v1.2.1
Expand Down Expand Up @@ -232,7 +240,7 @@ require (
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/cel-go v0.18.2 // indirect
github.com/google/cel-go v0.17.8 // indirect
github.com/google/gnostic-models v0.6.8 // indirect
github.com/google/go-github/v60 v60.0.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
Expand Down
72 changes: 23 additions & 49 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/metricsservice/api/metrics.pb.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/metricsservice/api/metrics_grpc.pb.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/externalscaler/externalscaler.pb.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/externalscaler/externalscaler_grpc.pb.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/liiklus/LiiklusService.pb.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/liiklus/LiiklusService_grpc.pb.go

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

8 changes: 4 additions & 4 deletions pkg/util/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ func GetWatchNamespaces() (map[string]cache.Config, error) {
// IgnoreOtherNamespaces returns the predicate for watched events that will filter out those that are not coming
// from a watched namespace (empty namespace or unset env var denotes all)
func IgnoreOtherNamespaces() predicate.Predicate {
nss, e := GetWatchNamespaces()
if len(nss) == 0 || e != nil {
return predicate.And() // no-op predicate that returns always true
}
nss, err := GetWatchNamespaces()
return predicate.Funcs{
GenericFunc: func(e event.GenericEvent) bool {
if len(nss) == 0 || err != nil {
return true
}
_, ok := nss[e.Object.GetNamespace()]
return ok
},
Expand Down
26 changes: 26 additions & 0 deletions vendor/github.com/antlr/antlr4/runtime/Go/antlr/v4/LICENSE

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

68 changes: 68 additions & 0 deletions vendor/github.com/antlr/antlr4/runtime/Go/antlr/v4/antlrdoc.go

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

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

Loading

0 comments on commit b0f5bff

Please sign in to comment.