From 45c9bc6a97ba974be6fb6e1e9c09dc15f006e690 Mon Sep 17 00:00:00 2001 From: Leo Q Date: Tue, 23 Apr 2024 23:22:26 +0800 Subject: [PATCH] fix frontend 500 error when probing service (#79) --- charts/dify/templates/deployment.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/charts/dify/templates/deployment.yaml b/charts/dify/templates/deployment.yaml index a9386cb..6ea277e 100644 --- a/charts/dify/templates/deployment.yaml +++ b/charts/dify/templates/deployment.yaml @@ -241,6 +241,9 @@ spec: httpGet: path: /apps port: http + httpHeaders: + - name: accept-language + value: en initialDelaySeconds: 30 timeoutSeconds: 5 periodSeconds: 30 @@ -250,7 +253,10 @@ spec: httpGet: path: /apps port: http - initialDelaySeconds: 1 + httpHeaders: + - name: accept-language + value: en + initialDelaySeconds: 30 timeoutSeconds: 5 periodSeconds: 5 successThreshold: 1