From 6b1e47804a4cd47020b0f9e3554a016b1acae92c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=87=8E?= Date: Mon, 3 Aug 2026 00:29:52 +0800 Subject: [PATCH] =?UTF-8?q?feat(config):=20=E6=B7=BB=E5=8A=A0MQTT=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=94=AF=E6=8C=81=E5=B9=B6=E6=9B=B4=E6=96=B0=E9=95=9C?= =?UTF-8?q?=E5=83=8F=E9=85=8D=E7=BD=AE=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在agent-common-values.yaml中添加mqttCredentials配置项 - 在edge-common-values.yaml中添加mqtt服务配置 - 将镜像配置从简单字符串格式更新为包含repository和tag的对象格式 - 为开发环境和演示环境统一应用MQTT相关配置 --- environments/demo/agent-common-values.yaml | 8 ++++++++ environments/demo/edge-common-values.yaml | 5 +++++ environments/dev/agent-common-values.yaml | 15 ++++++++++++--- environments/dev/edge-common-values.yaml | 11 +++++++++-- 4 files changed, 34 insertions(+), 5 deletions(-) diff --git a/environments/demo/agent-common-values.yaml b/environments/demo/agent-common-values.yaml index c18eced..7c935fd 100644 --- a/environments/demo/agent-common-values.yaml +++ b/environments/demo/agent-common-values.yaml @@ -28,3 +28,11 @@ sharedInfra: port: 5672 username: guest password: guest + +mqttCredentials: + - credentialRef: "edge-demo-mqtt" + username: "" + password: "" + - credentialRef: "edge-demo-2-mqtt" + username: "" + password: "" diff --git a/environments/demo/edge-common-values.yaml b/environments/demo/edge-common-values.yaml index 888542a..68114a2 100644 --- a/environments/demo/edge-common-values.yaml +++ b/environments/demo/edge-common-values.yaml @@ -21,3 +21,8 @@ sharedInfra: port: 5672 username: guest password: guest + +mqtt: + image: + repository: emqx/nanomq + tag: 0.25.2-2 diff --git a/environments/dev/agent-common-values.yaml b/environments/dev/agent-common-values.yaml index a19c3aa..3894666 100644 --- a/environments/dev/agent-common-values.yaml +++ b/environments/dev/agent-common-values.yaml @@ -4,9 +4,13 @@ storage: keep: true images: - backend: agent - frontend: agent-web - postgres: 192.168.1.119:8888/docker-proxy/library/postgres:17 + backend: + repository: agent + frontend: + repository: agent-web + postgres: + repository: 192.168.1.119:8888/docker-proxy/library/postgres + tag: "17" sharedInfra: postgres: @@ -22,3 +26,8 @@ sharedInfra: port: 5672 username: guest password: guest + +mqttCredentials: + - credentialRef: "edge-demo-mqtt" + username: "" + password: "" diff --git a/environments/dev/edge-common-values.yaml b/environments/dev/edge-common-values.yaml index d4f815d..8896fb4 100644 --- a/environments/dev/edge-common-values.yaml +++ b/environments/dev/edge-common-values.yaml @@ -4,8 +4,10 @@ storage: keep: true images: - backend: edge - frontend: edge-web + backend: + repository: edge + frontend: + repository: edge-web sharedInfra: redis: @@ -17,3 +19,8 @@ sharedInfra: port: 5672 username: guest password: guest + +mqtt: + image: + repository: emqx/nanomq + tag: 0.25.2-2