Skip to content

Conversation

bzp2010
Copy link
Collaborator

@bzp2010 bzp2010 commented Sep 26, 2025

Description

ADC populates the nodes field in the upstreams of the apisix-standalone backend even when they do not exist in the original configuration, which hinders service discovery configuration. Although I absolutely believe people should not use it.

This PR fixes the issue and adds tests to ensure this behavior no longer occurs, making it more compliant with the original configuration input.

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible

@bzp2010 bzp2010 added the test/apisix-standalone Trigger the APISIX standalone test on the PR label Sep 26, 2025
Copy link
Contributor

@juzhiyuan juzhiyuan left a comment

Choose a reason for hiding this comment

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

Testcases LGTM

@bzp2010 bzp2010 merged commit d753fdd into main Sep 26, 2025
46 of 53 checks passed
@bzp2010 bzp2010 deleted the bzp/fix-bas-upstream-default-nodes-fill branch September 26, 2025 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test/apisix-standalone Trigger the APISIX standalone test on the PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants