feat(edge): 去 PG edge values 适配

This commit is contained in:
ximenchuifeng committed 2026-08-05 15:11:08 +08:00
1 parent 83f5d28d79
commit 421a2e8e31
6 files changed
+5 -12

No files matched your search

+1
View File
@@ -33,6 +33,7 @@ spec:
- $values/environments/demo/edge-common-values.yaml - $values/environments/demo/edge-common-values.yaml
values: | values: |
site: "{{ .id }}" site: "{{ .id }}"
idWorkerId: {{ .idWorkerId }}
description: "{{ .description }}" description: "{{ .description }}"
{{- if hasKey . "nodeLabel" }} {{- if hasKey . "nodeLabel" }}
nodeSelector: nodeSelector:
+1
View File
@@ -33,6 +33,7 @@ spec:
- $values/environments/dev/edge-common-values.yaml - $values/environments/dev/edge-common-values.yaml
values: | values: |
site: "{{ .id }}" site: "{{ .id }}"
idWorkerId: {{ .idWorkerId }}
description: "{{ .description }}" description: "{{ .description }}"
{{- if .nodeLabel }} {{- if .nodeLabel }}
nodeSelector: nodeSelector:
@@ -10,15 +10,8 @@ images:
frontend: frontend:
repository: edge-web repository: edge-web
tag: "" tag: ""
postgres:
repository: 192.168.1.119:8888/docker-proxy/library/postgres
tag: "17"
sharedInfra: sharedInfra:
postgres:
username: postgres
password: "Admin12345"
port: 5432
redis: redis:
host: redis-service host: redis-service
port: 6379 port: 6379
+2
View File
@@ -1,5 +1,7 @@
edges: edges:
- id: demo - id: demo
idWorkerId: 17
description: Demo Edge description: Demo Edge
- id: demo-2 - id: demo-2
idWorkerId: 18
description: Demo Edge 2 description: Demo Edge 2
-5
View File
@@ -6,13 +6,8 @@ storage:
images: images:
backend: edge backend: edge
frontend: edge-web frontend: edge-web
postgres: 192.168.1.119:8888/docker-proxy/library/postgres:17
sharedInfra: sharedInfra:
postgres:
username: postgres
password: "Admin12345"
port: 5432
redis: redis:
host: redis-service host: redis-service
port: 6379 port: 6379
+1
View File
@@ -1,4 +1,5 @@
edges: edges:
- id: demo - id: demo
idWorkerId: 17
description: Dev Edge description: Dev Edge
nodeLabel: node2 nodeLabel: node2