Skip to content

Commit

Permalink
feat(redis) support spec tests with redis cluster (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
outsinre authored Aug 31, 2022
1 parent 78c4e52 commit e884efa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,11 @@ The result should be a new PR on the Pongo repo.
## unreleased
* Enabled redis cluster tests
[#305](https://github.com/Kong/kong-pongo/pull/305)
* Export the new `KONG_SPEC_TEST_REDIS_HOST` variable to be compatible with Kong 3.0.0+
[#290](https://github.com/Kong/kong-pongo/pull/290)
* Aliases now support `.yml` and `.json` extension for declarative config file
[#296](https://github.com/Kong/kong-pongo/pull/296)
Expand Down
2 changes: 2 additions & 0 deletions assets/pongo_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ export KONG_LOG_LEVEL=debug
export KONG_SPEC_REDIS_HOST=redis
# Kong test-helpers 3.0.0+
export KONG_SPEC_TEST_REDIS_HOST=redis
# Support Redis Cluster (RC)
export KONG_SPEC_TEST_REDIS_CLUSTER_ADDRESSES='["rc:7000","rc:7001","rc:7003"]'

# set the certificate store
export KONG_LUA_SSL_TRUSTED_CERTIFICATE=/etc/ssl/certs/ca-certificates.crt
Expand Down

0 comments on commit e884efa

Please sign in to comment.