Summary
Please triage whether ApisixConsumer should support generic consumer-scoped plugins beyond authentication.
Current behavior
APISIX itself supports binding plugins to consumers, but ApisixConsumer currently exposes authParameter only and does not provide a general plugins field for additional consumer-scoped plugins.
From the current implementation:
ApisixConsumerSpec only contains authParameter
- the translator only maps supported auth entries from
authParameter into consumer plugins
As a result, consumer-level plugin use cases supported by APISIX cannot currently be expressed through ApisixConsumer.
Use cases affected
- attaching plugins such as
limit-count or limit-req directly to a consumer
- managing consumer auth and other consumer-scoped plugin behavior in the same
ApisixConsumer resource
Code context
api/v2/apisixconsumer_types.go
internal/adc/translator/apisixconsumer.go
Summary
Please triage whether
ApisixConsumershould support generic consumer-scoped plugins beyond authentication.Current behavior
APISIX itself supports binding plugins to consumers, but
ApisixConsumercurrently exposesauthParameteronly and does not provide a generalpluginsfield for additional consumer-scoped plugins.From the current implementation:
ApisixConsumerSpeconly containsauthParameterauthParameterinto consumer pluginsAs a result, consumer-level plugin use cases supported by APISIX cannot currently be expressed through
ApisixConsumer.Use cases affected
limit-countorlimit-reqdirectly to a consumerApisixConsumerresourceCode context
api/v2/apisixconsumer_types.gointernal/adc/translator/apisixconsumer.go