Skip to content

internal change: policies can reference upstreams #10612

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

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

yuval-k
Copy link
Contributor

@yuval-k yuval-k commented Feb 11, 2025

Allow policies to get upstreams by placing the upstream index in the common collections.
these changes:

  • Add the UpstreamIndex to the CommonCollections in proxy_syncer Init (before k8s client is started)
  • Expose the GetUpstreamFromRef that return an upstream while doing reference grant checks.

@yuval-k
Copy link
Contributor Author

yuval-k commented Feb 11, 2025

context: needed for #10506

@npolshakova npolshakova added this pull request to the merge queue Feb 12, 2025
Merged via the queue into main with commit d68bd4d Feb 12, 2025
9 checks passed
@npolshakova npolshakova deleted the yuval-k/allow-policies-to-get-upstreams branch February 12, 2025 02:22
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.

2 participants