Skip to content

feat(tyk): Pass correct redis password at runtime#406

Merged
nurof3n merged 1 commit into
mainfrom
danielvallance/tyk_redis_password
Jun 9, 2026
Merged

feat(tyk): Pass correct redis password at runtime#406
nurof3n merged 1 commit into
mainfrom
danielvallance/tyk_redis_password

Conversation

@danielvallance

Copy link
Copy Markdown
Contributor

Closes: FIELD-544

Closes: FIELD-544

Signed-off-by: Daniel Vallance <daniel@unikraft.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Tyk + Redis example to supply the Redis password to the Tyk Gateway at runtime (via environment variable), aligning the deployment/test flow with Redis’ requirepass configuration.

Changes:

  • Remove the static storage.password entry from tyk.conf so the password is not baked into the image config.
  • Pass TYK_GW_STORAGE_PASSWORD when launching the Tyk instance in the end-to-end test.
  • Update the README run/deploy commands to include TYK_GW_STORAGE_PASSWORD.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
tyk/tyk/rootfs/etc/tyk.conf Removes the Redis password from the shipped Tyk config so it can be injected at runtime.
tyk/test_tyk.py Adds runtime env injection (TYK_GW_STORAGE_PASSWORD) when starting the Tyk instance in the e2e test.
tyk/README.md Updates manual run/deploy commands to include the runtime Redis password for Tyk.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tyk/README.md
Comment on lines 113 to 115
Build and deploy the Tyk instance:

**Using the unikraft CLI (Recommended)**

@nurof3n nurof3n left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Reviewed-by: Alex-Andrei Cioc andrei.cioc@unikraft.io
Approved-by: Alex-Andrei Cioc andrei.cioc@unikraft.io

@nurof3n

nurof3n commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

???

@nurof3n nurof3n merged commit 37ccb36 into main Jun 9, 2026
10 checks passed
@nurof3n nurof3n deleted the danielvallance/tyk_redis_password branch June 9, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants