From cd14312c63388285f726ee73b7555b8e0e251a22 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 3 Apr 2026 07:04:51 +0000 Subject: [PATCH 1/3] refactor(dify): extract CODE_EXECUTION envs into commonBackendEnvs Agent-Logs-Url: https://github.com/douban/charts/sessions/82fe6b56-5f27-4599-8cd5-325c3c0a09d7 Co-authored-by: LeoQuote <4143818+LeoQuote@users.noreply.github.com> --- charts/dify/templates/_helpers.tpl | 13 +++++++++++++ charts/dify/templates/deployment.yaml | 12 ------------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/charts/dify/templates/_helpers.tpl b/charts/dify/templates/_helpers.tpl index 97a955c..301b9fa 100644 --- a/charts/dify/templates/_helpers.tpl +++ b/charts/dify/templates/_helpers.tpl @@ -134,6 +134,19 @@ commonBackendEnvs are for api and worker containers value: {{ .Values.minio.auth.rootPassword }} {{- end }} +- name: CODE_EXECUTION_ENDPOINT + value: "http://{{ include "dify.fullname" . }}-sandbox" +- name: CODE_EXECUTION_API_KEY +{{- if .Values.sandbox.apiKeySecret }} + valueFrom: + secretKeyRef: + name: {{ .Values.sandbox.apiKeySecret }} + key: sandbox-api-key +{{- else if .Values.sandbox.apiKey }} + value: {{ .Values.sandbox.apiKey | quote }} +{{- else }} +{{- end }} + {{- if .Values.pluginDaemon.enabled }} - name: PLUGIN_DAEMON_URL value: "http://{{ include "dify.fullname" . }}-plugin-daemon:{{ .Values.pluginDaemon.service.port }}" diff --git a/charts/dify/templates/deployment.yaml b/charts/dify/templates/deployment.yaml index b9dc760..fb823ab 100644 --- a/charts/dify/templates/deployment.yaml +++ b/charts/dify/templates/deployment.yaml @@ -54,18 +54,6 @@ spec: {{- with .Values.api.envs }} {{- toYaml . | nindent 12 }} {{- end }} - - name: CODE_EXECUTION_ENDPOINT - value: "http://{{ include "dify.fullname" . }}-sandbox" - - name: CODE_EXECUTION_API_KEY - {{- if .Values.sandbox.apiKeySecret }} - valueFrom: - secretKeyRef: - name: {{ .Values.sandbox.apiKeySecret }} - key: sandbox-api-key - {{- else if .Values.sandbox.apiKey }} - value: {{ .Values.sandbox.apiKey | quote }} - {{- else }} - {{- end }} {{- with .Values.volumeMounts }} volumeMounts: {{- toYaml . | nindent 12 }} From 72b882eb2b619cb37f606887c9f11682908e11a9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 3 Apr 2026 07:08:11 +0000 Subject: [PATCH 2/3] chore(dify): bump chart version to 0.9.1 Agent-Logs-Url: https://github.com/douban/charts/sessions/74df5759-ef58-4256-823c-b4bb5d0324d5 Co-authored-by: LeoQuote <4143818+LeoQuote@users.noreply.github.com> --- charts/dify/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/dify/Chart.yaml b/charts/dify/Chart.yaml index 946a4b5..7f44102 100644 --- a/charts/dify/Chart.yaml +++ b/charts/dify/Chart.yaml @@ -20,7 +20,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.9.0 +version: 0.9.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to From a21bbe3e77476978603fb544f350a83056624021 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 3 Apr 2026 07:08:57 +0000 Subject: [PATCH 3/3] chore(dify): bump chart version to 0.9.1, appVersion to 1.13.3 Agent-Logs-Url: https://github.com/douban/charts/sessions/17394046-724e-4a7f-a988-01f4a954f129 Co-authored-by: LeoQuote <4143818+LeoQuote@users.noreply.github.com> --- charts/dify/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/dify/Chart.yaml b/charts/dify/Chart.yaml index 7f44102..6ec56b3 100644 --- a/charts/dify/Chart.yaml +++ b/charts/dify/Chart.yaml @@ -26,7 +26,7 @@ version: 0.9.1 # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "1.13.0" +appVersion: "1.13.3" dependencies: - name: redis