Baoyuantop commented on issue #2766:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/2766#issuecomment-4600205767

   Thanks for the request. Could you clarify whether "Ingress resources" means 
the native Kubernetes `networking.k8s.io/v1 Ingress`, or APISIX Ingress 
Controller CRDs such as `ApisixRoute`?
   
   APISIX CRDs already expose `status.conditions` through `ApisixStatus`, and 
those conditions include `lastTransitionTime`. However, `lastTransitionTime` 
means the time when the condition changed, which is different from a 
per-reconcile `lastReconcileTime`. For native Kubernetes Ingress, the 
controller currently updates `status.loadBalancer`, and we should not assume 
that the APISIX CRD status shape can be added directly to the standard Ingress 
status.
   
   If the target is APISIX CRDs, a reasonable direction is to add a separate 
`status.lastReconcileTime` while preserving the existing condition semantics. 
If the target is native Ingress, we may need to discuss alternatives such as 
Kubernetes Events, annotations, or another approach that does not break the 
standard Ingress status schema. Could you provide the target resource type and 
an example of the expected status YAML?


-- 
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