apache / apisix-ingress-controller

APISIX Ingress Controller for Kubernetes
https://apisix.apache.org/
Apache License 2.0
1.03k stars 348 forks source link

docs: is `stream[].backend` actually deprecated? #2256

Open kayx23 opened 4 months ago

kayx23 commented 4 months ago

Current State

The doc currently says stream[].backend is deprecated and asks users to use http[].backends instead:

https://apisix.apache.org/docs/ingress-controller/next/references/apisix_route_v2/

img_v3_02cf_30ae9d1e-bc86-4e06-8b93-49ac53efa0ag

This info was added 2 years ago and as of now, the config has not been deprecated. https://github.com/apache/apisix-ingress-controller/blob/master/pkg/kube/apisix/apis/config/v2/types.go#L241

image

Furthermore I could only find stream[].backend in e2e testing and sample CRD.

Desired State

Understand if this option is being deprecated and if the doc needs update.

Should also determine whether the code (tests) needs updates, if stream[].backend is actually being deprecated.

github-actions[bot] commented 1 month ago

This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.