Skip to content

Conversation

@BeanBois
Copy link

Type of change:

  • Bugfix
  • New feature provided
  • Improve performance
  • Backport patches
  • Documentation
  • Refactor
  • Chore
  • CI/CD or Tests

What this PR does / why we need it:

Fix #349

Right now inside function addProviderEndpointsToTranslateContext(), argument supportEndpointSlice within function resolveServiceEndpoints() is hard-coded to be true. This may cause problems in certain k8s version which does not support Endpoint Slice. Effectively, the function addProviderEndpointsToTranslateContext() is not k8s version-aware. This PR serves to make it k8s version-aware, such that it is compatible with all versions of k8s.

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

@CLAassistant
Copy link

CLAassistant commented Nov 27, 2025

CLA assistant check
All committers have signed the CLA.

@BeanBois BeanBois marked this pull request as ready for review November 30, 2025 15:05
Copy link
Author

@BeanBois BeanBois left a comment

Choose a reason for hiding this comment

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

Removed comments left in there while solving the problem

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.

fix: supportsEndpointSlice needs to be set correctly

2 participants