From c4d4915122367957ad4d810d399d70376c018801 Mon Sep 17 00:00:00 2001 From: Abyss <45425302+wangxye@users.noreply.github.com> Date: Wed, 6 Dec 2023 18:52:31 +0800 Subject: [PATCH] fix: fix the style of trans config (#9) Signed-off-by: wangxye --- charts/automq-for-rocketmq/Chart.yaml | 2 +- .../automq-for-rocketmq/templates/broker/configmap.yaml | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/charts/automq-for-rocketmq/Chart.yaml b/charts/automq-for-rocketmq/Chart.yaml index 09fd72d..1edce15 100644 --- a/charts/automq-for-rocketmq/Chart.yaml +++ b/charts/automq-for-rocketmq/Chart.yaml @@ -31,7 +31,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.0.5 +version: 0.0.6 # 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 diff --git a/charts/automq-for-rocketmq/templates/broker/configmap.yaml b/charts/automq-for-rocketmq/templates/broker/configmap.yaml index 71b6f3e..765d705 100644 --- a/charts/automq-for-rocketmq/templates/broker/configmap.yaml +++ b/charts/automq-for-rocketmq/templates/broker/configmap.yaml @@ -45,8 +45,12 @@ data: store: kvPath: "/root/logs/kvstore" - {{- if .Values.broker.storage.transactionTimeoutMillis }}transactionTimeoutMillis:{{- .Values.broker.storage.transactionTimeoutMillis }}{{- else }}{{- end }} - {{- if .Values.broker.storage.transactionCheckInterval }}transactionCheckInterval:{{- .Values.broker.storage.transactionCheckInterval }}{{- else }}{{- end }} + {{- if .Values.broker.storage.transactionTimeoutMillis }} + transactionTimeoutMillis: {{ .Values.broker.storage.transactionTimeoutMillis }} + {{- end }} + {{- if .Values.broker.storage.transactionCheckInterval }} + transactionCheckInterval: {{ .Values.broker.storage.transactionCheckInterval }} + {{- end }} controller: recycleS3IntervalInSecs: 360