This is an automated email from the ASF dual-hosted git repository. jianbin pushed a commit to branch 2.x in repository https://gitbox.apache.org/repos/asf/incubator-seata.git
The following commit(s) were added to refs/heads/2.x by this push: new f46065cf3d optimize: Helm template adapted to the new version of seata (#7412) f46065cf3d is described below commit f46065cf3ddbc1744f341dee79b0fcf2eb70ab25 Author: xucq07 <99275967+xuc...@users.noreply.github.com> AuthorDate: Wed Jun 4 16:27:03 2025 +0800 optimize: Helm template adapted to the new version of seata (#7412) --- changes/en-us/2.x.md | 4 ++-- changes/zh-cn/2.x.md | 2 ++ script/server/helm/seata-server/templates/deployment.yaml | 1 + script/server/helm/seata-server/values.yaml | 10 +++++++++- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/changes/en-us/2.x.md b/changes/en-us/2.x.md index 5beb731ced..93f4b87158 100644 --- a/changes/en-us/2.x.md +++ b/changes/en-us/2.x.md @@ -48,7 +48,7 @@ Add changes here for all PR submitted to the 2.x branch. - [[#7360](https://github.com/apache/incubator-seata/pull/7360)] Update resource cleanup logic for channel disconnection - [[#7363](https://github.com/apache/incubator-seata/pull/7363)] Upgrade npmjs dependencies - [[#7372](https://github.com/apache/incubator-seata/pull/7372)] optimize license ignore - +- [[#7412](https://github.com/apache/incubator-seata/pull/7412)] Helm template adapted to the new version of seata ### security: @@ -101,6 +101,6 @@ Thanks to these contributors for their code commits. Please report an unintended - [YoWuwuuuw](https://github.com/YoWuwuuuw) - [PleaseGiveMeTheCoke](https://github.com/PleaseGiveMeTheCoke) - [funky-eyes](https://github.com/funky-eyes) - +- [xucq07](https://github.com/xucq07) Also, we receive many valuable issues, questions and advices from our community. Thanks for you all. diff --git a/changes/zh-cn/2.x.md b/changes/zh-cn/2.x.md index 95e63e50e1..084ffa15d4 100644 --- a/changes/zh-cn/2.x.md +++ b/changes/zh-cn/2.x.md @@ -48,6 +48,7 @@ - [[#7360](https://github.com/apache/incubator-seata/pull/7360)] 更新通道断开连接时的资源清理逻辑 - [[#7363](https://github.com/apache/incubator-seata/pull/7363)] 升级 npmjs 依赖项 - [[#7372](https://github.com/apache/incubator-seata/pull/7372)] 改进忽略许可证标头检查 +- [[#7412](https://github.com/apache/incubator-seata/pull/7412)] 适配新版本 Seata 的 Helm 模板 ### security: @@ -102,6 +103,7 @@ - [YoWuwuuuw](https://github.com/YoWuwuuuw) - [PleaseGiveMeTheCoke](https://github.com/PleaseGiveMeTheCoke) - [funky-eyes](https://github.com/funky-eyes) +- [xucq07](https://github.com/xucq07) 同时,我们收到了社区反馈的很多有价值的issue和建议,非常感谢大家。 diff --git a/script/server/helm/seata-server/templates/deployment.yaml b/script/server/helm/seata-server/templates/deployment.yaml index eedafe3ef7..fa41f44495 100644 --- a/script/server/helm/seata-server/templates/deployment.yaml +++ b/script/server/helm/seata-server/templates/deployment.yaml @@ -47,6 +47,7 @@ spec: {{- range .Values.volume }} - name: {{ .name }} mountPath: {{ .mountPath }} + subPath: {{ .subPath }} {{- end}} {{- end}} {{- if .Values.env }} diff --git a/script/server/helm/seata-server/values.yaml b/script/server/helm/seata-server/values.yaml index f0ad911911..3b82a0fc2b 100644 --- a/script/server/helm/seata-server/values.yaml +++ b/script/server/helm/seata-server/values.yaml @@ -17,6 +17,8 @@ replicaCount: 1 +namespace: default + image: repository: seataio/seata-server tag: latest @@ -29,4 +31,10 @@ service: env: seataPort: "8091" storeMode: "file" - serverNode: "1" \ No newline at end of file + serverNode: "1" + +volume: + - name: seata-config + mountPath: /seata-server/resources/application.yml + subPath: application.yml + hostPath: /root/workspace/seata/seata-config/application.yml \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org