Skip to content

[release-1.15] fix PILOT_ENABLE_RDS_CACHE flag not working #42669

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

Conversation

istio-testing
Copy link
Collaborator

This is an automated cherry-pick of #40719

When building RDS, cache get is always conducted not respecting the
PILOT_ENABLE_RDS_CACHE flag. This CL fixes that.

Cache add already respects the flag:
https://github.com/airbnb/istio/blob/1.14.3-airbnb1/pilot/pkg/networking/core/v1alpha3/httproute.go#L212

Change-Id: Ic0634647239a6def8ced4ce611f5a986f130c95a
Reviewed-on: https://gerrit.musta.ch/c/public/istio/+/3611
Reviewed-by: Douglas Jordan <douglas.jordan@airbnb.com>
Reviewed-by: Jungho Ahn <jungho.ahn@airbnb.com>
Reviewed-by: Weibo He <weibo.he@airbnb.com>
@istio-policy-bot
Copy link

🤔 🐛 You appear to be fixing a bug in Go code, yet your PR doesn't include updates to any test files. Did you forget to add a test?

Courtesy of your friendly test nag.

@istio-testing istio-testing added release-notes-none Indicates a PR that does not require release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jan 4, 2023
@dhawton
Copy link
Member

dhawton commented Jan 4, 2023

/test integ-ipv6

@dhawton
Copy link
Member

dhawton commented Jan 4, 2023

/test unit-tests-arm64

@istio-testing istio-testing merged commit 298243d into istio:release-1.15 Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes-none Indicates a PR that does not require release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants