diff --git a/charts/dify/Chart.yaml b/charts/dify/Chart.yaml index 8bc8ced..1d3928d 100644 --- a/charts/dify/Chart.yaml +++ b/charts/dify/Chart.yaml @@ -26,7 +26,7 @@ version: 0.3.4 # 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: "0.6.3" +appVersion: "0.6.8" dependencies: - name: redis diff --git a/charts/dify/templates/configmap.yaml b/charts/dify/templates/configmap.yaml new file mode 100644 index 0000000..fe16122 --- /dev/null +++ b/charts/dify/templates/configmap.yaml @@ -0,0 +1,7 @@ +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "dify.fullname" . }}-config +data: + python-requirements.txt: "" diff --git a/charts/dify/templates/deployment.yaml b/charts/dify/templates/deployment.yaml index 245e747..c3fdfdb 100644 --- a/charts/dify/templates/deployment.yaml +++ b/charts/dify/templates/deployment.yaml @@ -315,6 +315,10 @@ spec: value: {{ .Values.sandbox.apiKey | quote }} {{- else }} {{- end }} + volumeMounts: + - name: config-volume + mountPath: /dependencies/python-requirements.txt + subPath: python-requirements.txt ports: - name: http containerPort: {{ .Values.sandbox.containerPort }} @@ -341,3 +345,7 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} + volumes: + - name: config-volume + configMap: + name: dify-config diff --git a/charts/dify/values.yaml b/charts/dify/values.yaml index 2179eaa..cdadfe3 100644 --- a/charts/dify/values.yaml +++ b/charts/dify/values.yaml @@ -292,7 +292,7 @@ sandbox: repository: langgenius/dify-sandbox pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "" + tag: "0.2.0" envs: - name: GIN_MODE