Files
王野 d7366869ed feat(helm): 统一镜像地址配置规范并更新CI示例
- 添加global.imageRegistry作为统一镜像仓库地址配置项
- 创建通用image模板函数处理镜像地址拼接逻辑
- 更新所有chart使用新的镜像配置结构
- 在README中添加镜像地址约定说明
- 修改CI命令示例以包含必要的镜像配置参数
- 将硬编码的镜像地址改为通过values动态配置
2026-11-03 09:52:35 +08:00

65 lines
1.4 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
global:
imageRegistry: ""
timezone: Asia/Shanghai
role: edge
site: "0"
description: "Edge 实例 0"
serviceId: ""
idWorkerId: 17
images:
edge: { repository: edge, tag: "" }
edgeWeb: { repository: edge-web, tag: "" }
nanomq: { repository: nanomq, tag: "0.25.2-2" }
ports:
backend: 8080
frontend: 80
storage:
className: local-path
size: 5Gi
keep: true
# SecretRef { name, key } resolves to <root>/<name>/<key>.
# Each mount projects one existing Kubernetes Secret; its data keys become files.
edgeSecrets:
root: /var/run/secrets/mixingx-edge
mounts: []
# - name: plc-main
# secretName: edge-0-plc-main
nodeName: ""
nodeSelector: {}
# Audit 事件发布(ADR-0048/0049):指向中心 Audit Broker。
# enabled=false 时服务内 AuditMqttPublisher 退化为 NoOp,不发审计事件。
# instanceId/nodeId 默认取单元名(role-site,如 edge-demo)。
audit:
publisher:
enabled: false
brokerUrl: "mqtt://audit-nanomq-service:1883"
sharedInfra:
redis:
host: redis-service
port: 6379
password: "Admin12345"
rabbitmq:
host: messaging-service
port: 5672
username: guest
password: guest
otlp:
endpoint: http://k8s-dashboard-service:18889
protocol: grpc
mqtt:
enabled: true
port: 1883
wsPort: 8083 # WebSocket listener(NanoMQ 镜像默认开启,路径 /mqtt),供 MQTTX Web 连接
credentialRef: "" # 默认空,模板内 default 为 {name}-mqtt
resources: {}