From c997b1dc37590448931e19720ec472b3cdaa5095 Mon Sep 17 00:00:00 2001 From: songtianlun Date: Mon, 21 Apr 2025 15:46:36 +0800 Subject: [PATCH] chore: update image version and ingress settings - Bump image version for `chatgpt-web-midjourney-proxy` from 2.22.7 to 2.23.8. - Add annotations for NGINX ingress to configure proxy body size, read timeout, and send timeout. These changes enhance the deployment of the application by ensuring that it uses the latest image version and improves the handling of larger requests and longer processing time through appropriate NGINX configuration. --- chatgpt-web-midjourney-proxy/load.yaml | 2 +- imagehost/ingress.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/chatgpt-web-midjourney-proxy/load.yaml b/chatgpt-web-midjourney-proxy/load.yaml index e4bb6d2..2a87850 100644 --- a/chatgpt-web-midjourney-proxy/load.yaml +++ b/chatgpt-web-midjourney-proxy/load.yaml @@ -29,7 +29,7 @@ spec: - cn containers: - name: app - image: ydlhero/chatgpt-web-midjourney-proxy:v2.22.7 + image: ydlhero/chatgpt-web-midjourney-proxy:v2.23.8 imagePullPolicy: Always ports: - containerPort: 3002 diff --git a/imagehost/ingress.yaml b/imagehost/ingress.yaml index 54c3f5b..5d305ad 100644 --- a/imagehost/ingress.yaml +++ b/imagehost/ingress.yaml @@ -6,6 +6,9 @@ metadata: namespace: imagehost annotations: cert-manager.io/cluster-issuer: "dnspod-cluster-issuer" + nginx.ingress.kubernetes.io/proxy-body-size: "50m" + nginx.ingress.kubernetes.io/proxy-read-timeout: "600" + nginx.ingress.kubernetes.io/proxy-send-timeout: "600" nginx.ingress.kubernetes.io/configuration-snippet: | location = /Avatar.jpg { return 301 https://image.frytea.com/i/Avatar.jpg$is_args$args;