Hathoute opened a new issue, #2753:
URL: https://github.com/apache/apisix-ingress-controller/issues/2753

   ### Description
   
   Just like labels `k8s/kind`, `k8s/namespace`, etc... A pretty interesting 
use case would be to have the possibility to define custom labels, for example 
`k8s.apisix.apache.org/label-ctx-var-name: my-value-here` would be available as 
label `ctx-var-name`, which could then be used in global plugins without having 
to define an extra `ApisixPluginConfig` for every `Ingress`
   
   In 
[label.go](https://github.com/apache/apisix-ingress-controller/blob/878e5015bda978cb2f4231511c835420d8769a2f/internal/controller/label/label.go#L36),
 I can see there's already some logic for adding pairs of key,value, though I'm 
not sure where it is used at the moment.
   
   I am open to contributing.


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