add security policy
This commit is contained in:
@@ -88,3 +88,23 @@ spec:
|
|||||||
timeouts:
|
timeouts:
|
||||||
request: 600s
|
request: 600s
|
||||||
backendRequest: 600s
|
backendRequest: 600s
|
||||||
|
---
|
||||||
|
apiVersion: gateway.envoyproxy.io/v1alpha1
|
||||||
|
kind: SecurityPolicy
|
||||||
|
metadata:
|
||||||
|
name: llm-bearer-auth
|
||||||
|
namespace: nim-service
|
||||||
|
spec:
|
||||||
|
targetRefs:
|
||||||
|
- group: gateway.networking.k8s.io
|
||||||
|
kind: HTTPRoute
|
||||||
|
name: llm-route
|
||||||
|
|
||||||
|
apiKeyAuth:
|
||||||
|
credentialRefs:
|
||||||
|
- group: ""
|
||||||
|
kind: Secret
|
||||||
|
name: mcp-bearer-token
|
||||||
|
extractFrom:
|
||||||
|
- headers:
|
||||||
|
- authorization
|
||||||
|
|||||||
Reference in New Issue
Block a user