-
Notifications
You must be signed in to change notification settings - Fork 29
[TT-14402] Add Handler for Gateway Storage MaxIdle Config #429
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
[TT-14402] Add Handler for Gateway Storage MaxIdle Config #429
Conversation
🔍 Code Analysis ResultsPull Request Analysis: TT-14402 Add Handler for Gateway Storage MaxIdle ConfigThis pull request introduces a new configuration option to the Tyk Helm charts, allowing users to customize the maximum number of idle connections in the Redis connection pool for the Tyk Gateway. 1. Change Impact AnalysisWhat this PR AccomplishesThis PR addresses the inability to easily configure the Key Technical Changes Introduced
Affected System Components
2. Architecture VisualizationThe following diagram illustrates how the new configuration parameter flows from the Helm graph TD
subgraph "Helm Chart Deployment"
A["values.yaml <br> (e.g., tyk-stack/values.yaml)"] --|Defines `.Values.global.redis.maxIdle`|--> B["templates/deployment-gw-repset.yaml"];
end
B --|Helm renders template into|--> C["Kubernetes Deployment Manifest"];
subgraph "Kubernetes Cluster"
C --|Creates|--> D["Gateway Pod"];
end
subgraph "Gateway Pod"
D --|Contains|--> E["Container Spec"];
E --|Defines Env Var|--> F["TYK_GW_STORAGE_MAXIDLE={{ .Values.global.redis.maxIdle }}"];
end
F --|Read by|--> G["Tyk Gateway Process"];
style A fill:#f9f,stroke:#333,stroke-width:2px
style B fill:#ccf,stroke:#333,stroke-width:2px
style G fill:#bbf,stroke:#333,stroke-width:2px
Diagram Explanation:
Powered by Visor from Probelabs Last updated: 2025-10-03T13:55:59.388Z | Triggered by: synchronize | Commit: 59ed8aa |
🔍 Code Analysis ResultsSecurity Issues (2)
Performance Issues (2)
Quality Issues (1)
Style Issues (6)
Powered by Visor from Probelabs Last updated: 2025-10-03T13:56:00.670Z | Triggered by: synchronize | Commit: 59ed8aa |
🚨 Jira Linter FailedCommit: The Jira linter failed to validate your PR. Please check the error details below: 🔍 Click to view error detailsNext Steps
This comment will be automatically deleted once the linter passes. |
|
This PR introduces a new Helm value, Files Changed AnalysisThe changes are consistently applied across 6 files. The core logic change is in A key observation is an inconsistency in the default values: the fallback default in the deployment template is Architecture & Impact Assessment
Scope Discovery & Context Expansion
Metadata
Powered by Visor from Probelabs Last updated: 2025-12-17T17:57:50.414Z | Triggered by: pr_updated | Commit: 8879087 💡 TIP: You can chat with Visor using |
Security Issues (1)
Architecture Issues (1)
Performance Issues (1)
Quality Issues (1)
Powered by Visor from Probelabs Last updated: 2025-12-17T17:57:53.149Z | Triggered by: pr_updated | Commit: 8879087 💡 TIP: You can chat with Visor using |
lghiur
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Add the flexibility to configure the Tyk Gateway configuration
TYK_GW_STORAGE_MAXIDLEvalue in the Tyk-Charts.Related Issue
TT-14402 - Setting TYK_GW_STORAGE_MAXIDLE in Helm Charts leads to duplicate config error
Motivation and Context
Test Coverage For This Change
Screenshots (if appropriate)
Types of changes
Checklist
master!masterbranch (left side). Also, it would be best if you started your change off our latestmaster.