Update redis driver to v9.0.2 (Teleport fork) (#30294)

* Update redis driver to v9.0.2 (Teleport fork)

* update .github
This commit is contained in:
STeve (Xin) Huang
2023-08-11 13:22:31 +00:00
committed by GitHub
parent 1e4a54eb0a
commit 19fe68912e
11 changed files with 15 additions and 13 deletions
+1 -1
View File
@@ -15,11 +15,11 @@ updates:
- dependency-name: github.com/alecthomas/kingpin/v2
- dependency-name: github.com/coreos/go-oidc
- dependency-name: github.com/go-mysql-org/go-mysql
- dependency-name: github.com/go-redis/redis/v9
- dependency-name: github.com/gogo/protobuf
- dependency-name: github.com/julienschmidt/httprouter
- dependency-name: github.com/keys-pub/go-libfido2
- dependency-name: github.com/microsoft/go-mssqldb
- dependency-name: github.com/redis/go-redis/v9
- dependency-name: github.com/vulcand/predicate
open-pull-requests-limit: 10
reviewers:
+1 -1
View File
@@ -27,13 +27,13 @@
"github.com/aquasecurity/libbpfgo",
"github.com/coreos/go-oidc",
"github.com/go-mysql-org/go-mysql",
"github.com/go-redis/redis/v9",
"github.com/gogo/protobuf",
"github.com/gravitational/teleport/api",
"github.com/gravitational/ttlmap",
"github.com/julienschmidt/httprouter",
"github.com/keys-pub/go-libfido2",
"github.com/microsoft/go-mssqldb",
"github.com/redis/go-redis/v9",
"github.com/vulcand/predicate",
"go.mongodb.org/mongo-driver"
]
+2 -2
View File
@@ -74,7 +74,6 @@ require (
github.com/go-logr/logr v1.2.4
github.com/go-mysql-org/go-mysql v1.5.0 // replaced
github.com/go-piv/piv-go v1.11.0
github.com/go-redis/redis/v9 v9.0.0-rc.1 // replaced
github.com/go-resty/resty/v2 v2.7.0
github.com/go-webauthn/webauthn v0.8.6
github.com/gocql/gocql v1.5.2
@@ -135,6 +134,7 @@ require (
github.com/prometheus/client_golang v1.16.0
github.com/prometheus/client_model v0.4.0
github.com/prometheus/common v0.44.0
github.com/redis/go-redis/v9 v9.0.2 // replaced
github.com/russellhaering/gosaml2 v0.9.1
github.com/russellhaering/goxmldsig v1.4.0
github.com/sashabaranov/go-openai v1.14.1
@@ -420,7 +420,6 @@ replace (
github.com/coreos/go-oidc => github.com/gravitational/go-oidc v0.1.0
github.com/datastax/go-cassandra-native-protocol => github.com/gravitational/go-cassandra-native-protocol v0.0.0-20221005103706-b9e66c056e90
github.com/go-mysql-org/go-mysql => github.com/gravitational/go-mysql v1.5.0-teleport.1
github.com/go-redis/redis/v9 => github.com/gravitational/redis/v9 v9.0.0-teleport.3
github.com/gogo/protobuf => github.com/gravitational/protobuf v1.3.2-teleport.1
github.com/gravitational/teleport/api => ./api
github.com/julienschmidt/httprouter => github.com/gravitational/httprouter v1.3.1-0.20220408074523-c876c5e705a5
@@ -429,5 +428,6 @@ replace (
// replace module github.com/moby/spdystream until https://github.com/moby/spdystream/pull/91 merges and deps are updated
// otherwise tests fail with a data race detection.
github.com/moby/spdystream => github.com/gravitational/spdystream v0.0.0-20230512133543-4e46862ca9bf
github.com/redis/go-redis/v9 => github.com/gravitational/redis/v9 v9.0.2-teleport.1
github.com/vulcand/predicate => github.com/gravitational/predicate v1.3.1
)
+4 -2
View File
@@ -339,6 +339,8 @@ github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx2
github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8=
github.com/boombuler/barcode v1.0.1 h1:NDBbPmhS+EqABEs5Kg3n/5ZNjy73Pz7SIV+KCeqyXcs=
github.com/boombuler/barcode v1.0.1/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8=
github.com/bsm/ginkgo/v2 v2.5.0 h1:aOAnND1T40wEdAtkGSkvSICWeQ8L3UASX7YVCqQx+eQ=
github.com/bsm/gomega v1.20.0 h1:JhAwLmtRzXFTx2AkALSLa8ijZafntmhSoU63Ok18Uq8=
github.com/bufbuild/connect-go v1.10.0 h1:QAJ3G9A1OYQW2Jbk3DeoJbkCxuKArrvZgDt47mjdTbg=
github.com/bufbuild/connect-go v1.10.0/go.mod h1:CAIePUgkDR5pAFaylSMtNK45ANQjp9JvpluG20rhpV8=
github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0=
@@ -807,8 +809,8 @@ github.com/gravitational/predicate v1.3.1 h1:f1uGg2FF6z5wZbcafYpLZJ1gl+82I0MlSd0
github.com/gravitational/predicate v1.3.1/go.mod h1:H5e9dUW7zb/cuKkkhfnyT9SsI/WHWJ8Ra011La16DTY=
github.com/gravitational/protobuf v1.3.2-teleport.1 h1:h5mh+UOKPurqDxn1hRVcr1WzSkmBi+D9qkXpaXA9PFM=
github.com/gravitational/protobuf v1.3.2-teleport.1/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
github.com/gravitational/redis/v9 v9.0.0-teleport.3 h1:Eg/j3jiNUZ558KDXOqzF682EFmf97vxAFFnMgZ0YHns=
github.com/gravitational/redis/v9 v9.0.0-teleport.3/go.mod h1:8et+z03j0l8N+DvsVnclzjf3Dl/pFHgRk+2Ct1qw66A=
github.com/gravitational/redis/v9 v9.0.2-teleport.1 h1:BYrMUySxKFOkZ/4XjKEIvkDYqBBBeRGs3eVLLS9btrA=
github.com/gravitational/redis/v9 v9.0.2-teleport.1/go.mod h1:/xDTe9EF1LM61hek62Poq2nzQSGj0xSrEtEHbBQevps=
github.com/gravitational/roundtrip v1.0.2 h1:eOCY0NEKKaB0ksJmvhO6lPMFz1pIIef+vyPBTBROQ5c=
github.com/gravitational/roundtrip v1.0.2/go.mod h1:fuI1booM2hLRA/B/m5MRAPOU6mBZNYcNycono2UuTw0=
github.com/gravitational/spdystream v0.0.0-20230512133543-4e46862ca9bf h1:aXnqDSit8L1qhI0+QdbJh+MTUFKXG7qbkZXnfr7L96A=
+1 -1
View File
@@ -34,13 +34,13 @@ import (
elastic "github.com/elastic/go-elasticsearch/v8"
mysqlclient "github.com/go-mysql-org/go-mysql/client"
mysqllib "github.com/go-mysql-org/go-mysql/mysql"
goredis "github.com/go-redis/redis/v9"
"github.com/google/uuid"
"github.com/gravitational/trace"
"github.com/jackc/pgconn"
"github.com/jonboulle/clockwork"
mssql "github.com/microsoft/go-mssqldb"
opensearchclt "github.com/opensearch-project/opensearch-go/v2"
goredis "github.com/redis/go-redis/v9"
"github.com/stretchr/testify/require"
"go.mongodb.org/mongo-driver/bson"
"go.mongodb.org/mongo-driver/mongo"
+1 -1
View File
@@ -27,8 +27,8 @@ import (
"strings"
"sync"
"github.com/go-redis/redis/v9"
"github.com/gravitational/trace"
"github.com/redis/go-redis/v9"
"github.com/gravitational/teleport/lib/services"
"github.com/gravitational/teleport/lib/srv/db/common"
+1 -1
View File
@@ -24,8 +24,8 @@ import (
"fmt"
"strings"
"github.com/go-redis/redis/v9"
"github.com/gravitational/trace"
"github.com/redis/go-redis/v9"
"golang.org/x/exp/slices"
"github.com/gravitational/teleport/lib/defaults"
+1 -1
View File
@@ -25,8 +25,8 @@ import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/elasticache"
"github.com/go-redis/redis/v9"
"github.com/gravitational/trace"
"github.com/redis/go-redis/v9"
"golang.org/x/exp/slices"
"github.com/gravitational/teleport/api/types"
+1 -1
View File
@@ -26,8 +26,8 @@ import (
"strconv"
"strings"
"github.com/go-redis/redis/v9"
"github.com/gravitational/trace"
"github.com/redis/go-redis/v9"
)
// ErrCmdNotSupported is returned when an unsupported Redis command is sent to Teleport proxy.
+1 -1
View File
@@ -26,8 +26,8 @@ import (
"fmt"
"testing"
"github.com/go-redis/redis/v9"
"github.com/gravitational/trace"
"github.com/redis/go-redis/v9"
"github.com/stretchr/testify/require"
)
+1 -1
View File
@@ -24,8 +24,8 @@ import (
"time"
"github.com/alicebob/miniredis/v2"
"github.com/go-redis/redis/v9"
"github.com/gravitational/trace"
"github.com/redis/go-redis/v9"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/require"