fix: add ApisixPluginConfig to increase max_body_size for file uploads
This commit is contained in:
parent
91a6a338ab
commit
6d72f461dd
|
|
@ -108,6 +108,7 @@ metadata:
|
|||
k8s.apisix.apache.org/proxy-timeout-connect: "300s"
|
||||
k8s.apisix.apache.org/proxy-timeout-read: "300s"
|
||||
k8s.apisix.apache.org/proxy-timeout-send: "300s"
|
||||
k8s.apisix.apache.org/plugin-config-name: news-scan-plugins
|
||||
spec:
|
||||
ingressClassName: apisix
|
||||
rules:
|
||||
|
|
@ -121,3 +122,15 @@ spec:
|
|||
name: news-scan
|
||||
port:
|
||||
number: 5000
|
||||
---
|
||||
apiVersion: apisix.apache.org/v2
|
||||
kind: ApisixPluginConfig
|
||||
metadata:
|
||||
name: news-scan-plugins
|
||||
namespace: ai-agents
|
||||
spec:
|
||||
plugins:
|
||||
- name: client-control
|
||||
enable: true
|
||||
config:
|
||||
max_body_size: 209715200
|
||||
|
|
|
|||
Loading…
Reference in New Issue