josemrs opened a new issue, #11575:
URL: https://github.com/apache/apisix/issues/11575
### Current Behavior
Setting the proxy-rewrite config in the Route like this works:
` plugins:
- name: proxy-rewrite
enable: true
config:
headers:
set:
Authorization: 'Basic base64Token'
`
Setting it like this does not work, the field is not configured:
`
apiVersion: v1
kind: Secret
metadata:
name: prometheus-auth-header
namespace: testing-apisix
data:
headers.set.Authorization: base64AuthHeader
`
`
plugins:
- name: proxy-rewrite
enable: true
secretRef: prometheus-auth-header
`
### Expected Behavior
The plugins is configured according to the secret when using secretRef
### Error Logs
No errors found
### Steps to Reproduce
Set up a Route using proxy-rewrite and config the plugin to set a header
using secretRef.
### Environment
Kubernetes 1.30
Apisix Helm chart 2.8.1
--
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]