Skip to content

enhancement: support upstream mTLS configuration for Gateway API backends #422

@kayx23

Description

@kayx23

Summary

Please triage whether the controller should support configuring upstream mTLS when using Gateway API resources.

Current behavior

The controller already exposes an upstream client-certificate path through the APISIX CRD surface, for example ApisixUpstream.spec.tlsSecret.

However, I did not find an equivalent Gateway API-oriented surface in the current controller model for expressing upstream client-auth when APISIX connects to backend services.

The Gateway API docs currently mark BackendTLSPolicy as not supported, and BackendTrafficPolicy does not appear to expose client certificate material for this use case.

As a result, upstream mTLS setups supported through APISIX CRDs cannot currently be expressed through the Gateway API path in the controller.

Use cases affected

  • connecting from APISIX to HTTPS backends that require client certificate authentication
  • managing upstream TLS verification and upstream client-auth through the same Gateway API-oriented configuration flow

Code context

  • docs/en/latest/concepts/gateway-api.md
  • api/v1alpha1/backendtrafficpolicy_types.go
  • api/v2/apisixupstream_types.go

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions