Skip to content

chore: allow L4 upstream schemes (tcp/tls/udp) in ingress-controller CRDs - #992

Open
AlinsRan wants to merge 1 commit into
apache:masterfrom
AlinsRan:feat/l4-upstream-scheme
Open

chore: allow L4 upstream schemes (tcp/tls/udp) in ingress-controller CRDs#992
AlinsRan wants to merge 1 commit into
apache:masterfrom
AlinsRan:feat/l4-upstream-scheme

Conversation

@AlinsRan

Copy link
Copy Markdown
Contributor

Description

Pairs with apache/apisix-ingress-controller#2830 (fixes apache/apisix-ingress-controller#2803).

APISIX accepts tcp, tls and udp as upstream schemes for L4 proxying, and scheme: tls is what makes the gateway establish the TLS session with a stream upstream (plain TCP in from the client, TLS out to the backend). The CRDs bundled in this chart still restrict ApisixUpstream.spec.scheme and BackendTrafficPolicy.spec.scheme to the L7 set, so on a standard Helm installation the API server rejects tcp/tls/udp before the controller ever sees the resource.

This updates the three scheme fields in charts/apisix-ingress-controller/crds/apisixic-crds.yaml (top-level and portLevelSettings of ApisixUpstream, plus BackendTrafficPolicy) to match what make helm-build-crds produces from apache/apisix-ingress-controller#2830.

Only the scheme blocks are touched; the rest of the bundle is left as-is and will be refreshed by the next release bump.

…CRDs

APISIX accepts `tcp`, `tls` and `udp` as upstream schemes for L4 proxying,
and `scheme: tls` is what makes the gateway establish the TLS session with a
stream upstream. The bundled CRDs still restricted `ApisixUpstream.spec.scheme`
and `BackendTrafficPolicy.spec.scheme` to the L7 set, so the API server rejected
those values before the controller could see them.

Syncs the scheme field of charts/apisix-ingress-controller/crds/apisixic-crds.yaml
with apache/apisix-ingress-controller#2830.
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.

Question: ApisixRoute CRD stream backend lacks scheme: tls — is Admin API safe to use alongside CRDs?

1 participant