From 6bb97211aff7eb1d1595f210b3b906c81c49f17f 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 | 15 ++++++++++++--- 4 files changed, 37 insertions(+), 6 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 f1a7ebc..582db5b 100644 --- a/environments/demo/edge-common-values.yaml +++ b/environments/demo/edge-common-values.yaml @@ -28,3 +28,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 a279dc2..270625c 100644 --- a/environments/dev/edge-common-values.yaml +++ b/environments/dev/edge-common-values.yaml @@ -4,9 +4,13 @@ storage: keep: true images: - backend: edge - frontend: edge-web - postgres: 192.168.1.119:8888/docker-proxy/library/postgres:17 + backend: + repository: edge + frontend: + repository: edge-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 + +mqtt: + image: + repository: emqx/nanomq + tag: 0.25.2-2