cvas22 opened a new pull request, #2915:
URL: https://github.com/apache/apisix-ingress-controller/pull/2915

   ### Type of change:
   
   - [x] New feature provided
   
   ### What this PR does / why we need it:
   
   Fixes #2903.
   
   ApisixRoute now carries `status.loadBalancer.ingress`, filled from the 
GatewayProxy's `statusAddress` or `publishService` the same way Ingress status 
already is. That gives external-dns (unstructured source) something to read 
instead of hardcoding the target.
   
   I moved the address lookup out of the Ingress reconciler into a shared 
helper so both use the same rules, including dedup and the ClusterIP publish 
service case. `ApisixRouteStatus` stops being an alias and embeds 
`ApisixStatus`, so the other CRDs are untouched. If the lookup fails the route 
keeps its previous addresses and the reconcile isn't failed for it.
   
   ### Notes
   
   I hand-edited the CRD and deepcopy output since I couldn't run the 
generators here, so if the manifest check disagrees I'll fix it up from the CI 
diff.
   
   ### Pre-submission checklist:
   
   - [x] Did you explain what problem does this PR solve? Or what new features 
have been added?
   - [x] Have you added corresponding test cases?
   - [x] Have you modified the corresponding document?
   - [x] Is this PR backward compatible? **If it is not backward compatible, 
please discuss on the [mailing 
list](https://github.com/apache/apisix-ingress-controller#community) first**
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to