Skip to content

Commit a06ace8

Browse files
omegazengomega.zeng
andauthored
[dify] bump: app version to 1.7.0 (#135)
* chore: bump chart and application versions to 0.6.6 and 1.7.0, respectively; update plugin daemon image tag to 0.2.0-local; add new ingress path for plugin daemon: * add: env ENDPOINT_URL_TEMPLATE langgenius/dify#15684 * update: README.md --------- Co-authored-by: omega.zeng <omega.zeng@hstong.com>
1 parent c096439 commit a06ace8

5 files changed

Lines changed: 22 additions & 6 deletions

File tree

charts/dify/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ type: application
2020
# This is the chart version. This version number should be incremented each time you make changes
2121
# to the chart and its templates, including the app version.
2222
# Versions are expected to follow Semantic Versioning (https://semver.org/)
23-
version: 0.6.5
23+
version: 0.6.6
2424

2525
# This is the version number of the application being deployed. This version number should be
2626
# incremented each time you make changes to the application. Versions are not expected to
2727
# follow Semantic Versioning. They should reflect the version the application is using.
2828
# It is recommended to use it with quotes.
29-
appVersion: "1.4.1"
29+
appVersion: "1.7.0"
3030

3131
dependencies:
3232
- name: redis

charts/dify/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ global:
1717
# Set to the latest version of dify
1818
# Check the version here: https://github.com/langgenius/dify/releases
1919
# If not set, Using the default value in Chart.yaml
20-
tag: "0.6.3"
20+
tag: "1.7.0"
2121
extraBackendEnvs:
2222
- name: SECRET_KEY
2323
value: "generate your own one"
@@ -54,7 +54,7 @@ To upgrade app, change the value of `global.image.tag` to the desired version
5454
```yaml
5555
global:
5656
image:
57-
tag: "0.6.3"
57+
tag: "1.7.0"
5858
```
5959
6060
Then upgrade the app with helm command

charts/dify/templates/_helpers.tpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ commonBackendEnvs are for api and worker containers
8686
- name: {{ . }}
8787
value: {{ include "dify.baseUrl" $ }}
8888
{{- end }}
89+
- name: ENDPOINT_URL_TEMPLATE
90+
value: {{ include "dify.baseUrl" $ }}/e/{hook_id}
8991
{{- end }}
9092

9193

charts/dify/templates/ingress.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,20 @@ spec:
9191
serviceName: {{ $fullName }}-api-svc
9292
servicePort: {{ .Values.api.service.port }}
9393
{{- end }}
94+
- path: /e/
95+
{{- if semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion }}
96+
pathType: Prefix
97+
{{- end }}
98+
backend:
99+
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }}
100+
service:
101+
name: {{ $fullName }}-plugin-daemon
102+
port:
103+
number: {{ .Values.pluginDaemon.service.port }}
104+
{{- else }}
105+
serviceName: {{ $fullName }}-plugin-daemon
106+
servicePort: {{ .Values.pluginDaemon.service.port }}
107+
{{- end }}
94108
- path: /
95109
{{- if semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion }}
96110
pathType: Prefix

charts/dify/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ global:
1717
port: ""
1818
enableTLS: false
1919
image:
20-
tag: "1.4.1"
20+
tag: "1.7.0"
2121
edition: "SELF_HOSTED"
2222
storageType: "s3"
2323
# the following extra configs would be injected into:
@@ -399,7 +399,7 @@ pluginDaemon:
399399
image:
400400
repository: langgenius/dify-plugin-daemon
401401
pullPolicy: IfNotPresent
402-
tag: "0.1.1-local"
402+
tag: "0.2.0-local"
403403

404404
envs:
405405
- name: SERVER_PORT

0 commit comments

Comments
 (0)