bug: keyauth header in ApisixRoute CRD doesnt work
Issue description
Follow the doc in ApisixRoute CRD
apiVersion: apisix.apache.org/v2beta3
kind: ApisixRoute
metadata:
name: status-tracker
namespace: launcher
spec:
http:
- name: status-tracker-rule
match:
hosts:
- api.xxx.cc
paths:
- /status-tracker*
plugins:
- name: proxy-rewrite
enable: true
config:
regex_uri:
- ^/status-tracker/(.*)
- /$1
backends:
- serviceName: status-tracker
servicePort: 8000
authentication:
enable: true
type: keyAuth
keyAuth:
header: Authentication
Environment
apache/apisix-ingress-controller:1.4.1
Kubernetes cluster version: Client Version: v1.24.0 Kustomize Version: v4.5.4 Server Version: v1.21.12-gke.2200
Minimal test code / Steps to reproduce
kubectl apply -f the config file
Actual result
Error log
no
Expected result
the keyAuth header need to be Authentication
we can add a test case to cover this one. WDYT @AlinsRan @lingsamuel
This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.