From ff150f721d98e47458f0947f3873db5d2c86f2dc Mon Sep 17 00:00:00 2001 From: zhanghaogang Date: Thu, 13 Mar 2025 16:22:56 +0800 Subject: [PATCH] =?UTF-8?q?chore(configMap):=20=E6=9B=B4=E6=96=B0Chart.yam?= =?UTF-8?q?l=E4=B8=AD=E7=9A=84appVersion=E5=88=B0V1.0.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新应用版本号以匹配最新发布版本 - 保持版本号与部署配置一致 --- chart/Chart.yaml | 2 +- chart/templates/pusher.yaml | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 chart/templates/pusher.yaml diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 724e775..5e5a96d 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -21,4 +21,4 @@ version: 1.0.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: "V1.0.1" +appVersion: "V1.0.2" diff --git a/chart/templates/pusher.yaml b/chart/templates/pusher.yaml new file mode 100644 index 0000000..7a24383 --- /dev/null +++ b/chart/templates/pusher.yaml @@ -0,0 +1,23 @@ +kind: ConfigMap +apiVersion: v1 +metadata: + name: pusher +data: + online: | + kitex: + service: "pusher" + address: ":8080" + log_level: info + log_file_name: "log/kitex.log" + log_max_size: 10 + log_max_age: 3 + log_max_backups: 50 + + registry: + registry_address: + - 127.0.0.1:2379 + username: "" + password: "" + + db: + dsn: "host={{ .Values.db.host }} user={{ .Values.db.user }} password={{ .Values.db.password }} dbname={{ .Values.db.dbname }} port={{ .Values.db.port }} sslmode=disable TimeZone=Asia/Shanghai" \ No newline at end of file