Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(redis) support spec tests with redis cluster #305

Merged
merged 2 commits into from
Aug 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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