From 421a2e8e3111502ee4364d53b8b03c22689ea9fc Mon Sep 17 00:00:00 2001 From: ximenchuifeng Date: Thu, 30 Jul 2026 18:45:39 +0800 Subject: [PATCH] =?UTF-8?q?feat(edge):=20=E5=8E=BB=20PG=20edge=20values=20?= =?UTF-8?q?=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- applications/demo/edges.yaml | 1 + applications/dev/edges.yaml | 1 + environments/demo/edge-common-values.yaml | 7 ------- environments/demo/edges.yaml | 2 ++ environments/dev/edge-common-values.yaml | 5 ----- environments/dev/edges.yaml | 1 + 6 files changed, 5 insertions(+), 12 deletions(-) diff --git a/applications/demo/edges.yaml b/applications/demo/edges.yaml index 4b0aced..c94d8f9 100644 --- a/applications/demo/edges.yaml +++ b/applications/demo/edges.yaml @@ -33,6 +33,7 @@ spec: - $values/environments/demo/edge-common-values.yaml values: | site: "{{ .id }}" + idWorkerId: {{ .idWorkerId }} description: "{{ .description }}" {{- if hasKey . "nodeLabel" }} nodeSelector: diff --git a/applications/dev/edges.yaml b/applications/dev/edges.yaml index d93e2d8..8c98bef 100644 --- a/applications/dev/edges.yaml +++ b/applications/dev/edges.yaml @@ -33,6 +33,7 @@ spec: - $values/environments/dev/edge-common-values.yaml values: | site: "{{ .id }}" + idWorkerId: {{ .idWorkerId }} description: "{{ .description }}" {{- if .nodeLabel }} nodeSelector: diff --git a/environments/demo/edge-common-values.yaml b/environments/demo/edge-common-values.yaml index f1a7ebc..888542a 100644 --- a/environments/demo/edge-common-values.yaml +++ b/environments/demo/edge-common-values.yaml @@ -10,15 +10,8 @@ images: frontend: repository: edge-web tag: "" - postgres: - repository: 192.168.1.119:8888/docker-proxy/library/postgres - tag: "17" sharedInfra: - postgres: - username: postgres - password: "Admin12345" - port: 5432 redis: host: redis-service port: 6379 diff --git a/environments/demo/edges.yaml b/environments/demo/edges.yaml index 880e693..3d3657d 100644 --- a/environments/demo/edges.yaml +++ b/environments/demo/edges.yaml @@ -1,5 +1,7 @@ edges: - id: demo + idWorkerId: 17 description: Demo Edge - id: demo-2 + idWorkerId: 18 description: Demo Edge 2 diff --git a/environments/dev/edge-common-values.yaml b/environments/dev/edge-common-values.yaml index a279dc2..d4f815d 100644 --- a/environments/dev/edge-common-values.yaml +++ b/environments/dev/edge-common-values.yaml @@ -6,13 +6,8 @@ storage: images: backend: edge frontend: edge-web - postgres: 192.168.1.119:8888/docker-proxy/library/postgres:17 sharedInfra: - postgres: - username: postgres - password: "Admin12345" - port: 5432 redis: host: redis-service port: 6379 diff --git a/environments/dev/edges.yaml b/environments/dev/edges.yaml index 9f56e74..4a36676 100644 --- a/environments/dev/edges.yaml +++ b/environments/dev/edges.yaml @@ -1,4 +1,5 @@ edges: - id: demo + idWorkerId: 17 description: Dev Edge nodeLabel: node2