Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ceeb5474a9 |
No files matched your search
@@ -2,5 +2,5 @@ apiVersion: v2
|
||||
name: mixingx-agent-unit
|
||||
description: "One MixingX agent unit release: agent backend, agent web, and agent PostgreSQL."
|
||||
type: application
|
||||
version: 1.0.10
|
||||
appVersion: "1.0.10"
|
||||
version: 1.0.3
|
||||
appVersion: "1.0.1"
|
||||
@@ -2,5 +2,5 @@ apiVersion: v2
|
||||
name: mixingx-audit
|
||||
description: MixingX audit service.
|
||||
type: application
|
||||
version: 1.0.10
|
||||
appVersion: "1.0.10"
|
||||
version: 1.0.1
|
||||
appVersion: "1.0.1"
|
||||
@@ -2,5 +2,5 @@ apiVersion: v2
|
||||
name: mixingx-edge-unit
|
||||
description: "One MixingX edge unit release with durable local revision storage."
|
||||
type: application
|
||||
version: 1.0.10
|
||||
appVersion: "1.0.10"
|
||||
version: 1.0.1
|
||||
appVersion: "1.0.1"
|
||||
@@ -2,5 +2,5 @@ apiVersion: v2
|
||||
name: mixingx-gateway
|
||||
description: MixingX gateway service, RBAC, and root ingress.
|
||||
type: application
|
||||
version: 1.0.10
|
||||
appVersion: "1.0.10"
|
||||
version: 1.0.1
|
||||
appVersion: "1.0.1"
|
||||
@@ -33,4 +33,34 @@ roleRef:
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: gateway-sa
|
||||
---
|
||||
# 更新中心(ADR-0074 决策 7):预拉取 DaemonSet 编排——镜像提前铺到各节点,
|
||||
# 客户点更新时新 Pod 命中本地缓存秒级切换。权限只有 daemonsets 增删查 + pods 只读。
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
metadata:
|
||||
name: gateway-prepull-manager
|
||||
labels:
|
||||
app.kubernetes.io/component: gateway
|
||||
rules:
|
||||
- apiGroups: ["apps"]
|
||||
resources: ["daemonsets"]
|
||||
verbs: ["create", "get", "list", "delete"]
|
||||
- apiGroups: [""]
|
||||
resources: ["pods"]
|
||||
verbs: ["get", "list"]
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: gateway-prepull-manager-binding
|
||||
labels:
|
||||
app.kubernetes.io/component: gateway
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
name: gateway-prepull-manager
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: gateway-sa
|
||||
{{- end }}
|
||||
@@ -52,6 +52,20 @@ spec:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
{{- end }}
|
||||
{{- /* 更新中心(ADR-0074):ArgoCD 只读访问(镜像清单);缺省不注入 = 清单功能 503 降级 */}}
|
||||
{{- with .Values.gateway.updateCenter }}
|
||||
{{- with .argocdUrl }}
|
||||
- name: Update__ArgoCd__BaseUrl
|
||||
value: {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .argocdTokenSecret }}
|
||||
- name: Update__ArgoCd__Token
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ .name | quote }}
|
||||
key: {{ .key | default "token" | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
|
||||
@@ -2,5 +2,5 @@ apiVersion: v2
|
||||
name: mixingx-infra
|
||||
description: MixingX shared infrastructure services (Redis, MongoDB, RabbitMQ).
|
||||
type: application
|
||||
version: 1.0.10
|
||||
appVersion: "1.0.10"
|
||||
version: 1.0.1
|
||||
appVersion: "1.0.1"
|
||||
@@ -2,5 +2,5 @@ apiVersion: v2
|
||||
name: mixingx-mqttx
|
||||
description: MixingX MQTTX Web — 浏览器端 MQTT 客户端,用于监控/调试各 Edge 的 NanoMQ broker。
|
||||
type: application
|
||||
version: 1.0.10
|
||||
appVersion: "1.0.10"
|
||||
version: 1.0.1
|
||||
appVersion: "1.0.1"
|
||||
@@ -2,5 +2,5 @@ apiVersion: v2
|
||||
name: mixingx-network-agent
|
||||
description: "MixingX network console agent: 每节点常驻,提供主机网口(IP/掩码/网关/DNS)与 WiFi 的可视化配置 API。"
|
||||
type: application
|
||||
version: 1.0.10
|
||||
appVersion: "1.0.10"
|
||||
version: 0.1.0
|
||||
appVersion: "1.0.1"
|
||||
@@ -51,10 +51,13 @@ spec:
|
||||
- name: K3S_RESTART_ON_IP_CHANGE
|
||||
value: {{ .Values.k3sRestartOnIpChange | quote }}
|
||||
securityContext:
|
||||
# 只需 root + D-Bus socket,无需 privileged 与额外 capability:
|
||||
# nmcli 经 D-Bus 操作主机 NM,特权动作(改 IP/路由)全部由 NM 进程执行
|
||||
# 只需 root + D-Bus socket,无需 privileged
|
||||
# NET_ADMIN: 清除切换静态后残留的动态地址(ip addr del 需要此能力)
|
||||
runAsUser: 0
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
add:
|
||||
- NET_ADMIN
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /api/network/health
|
||||
@@ -77,8 +80,15 @@ spec:
|
||||
# 主机 system bus: nmcli 与 systemd 重启都走它
|
||||
- name: dbus
|
||||
mountPath: /run/dbus/system_bus_socket
|
||||
- name: nm-run
|
||||
mountPath: /run/NetworkManager
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: dbus
|
||||
hostPath:
|
||||
path: /run/dbus/system_bus_socket
|
||||
type: Socket
|
||||
- name: nm-run
|
||||
hostPath:
|
||||
path: /run/NetworkManager
|
||||
type: DirectoryOrCreate
|
||||
@@ -2,5 +2,5 @@ apiVersion: v2
|
||||
name: mixingx-platform
|
||||
description: MixingX central platform services without customer edge/agent instances.
|
||||
type: application
|
||||
version: 1.0.10
|
||||
appVersion: "1.0.10"
|
||||
version: 1.0.1
|
||||
appVersion: "1.0.1"
|
||||
@@ -2,5 +2,5 @@ apiVersion: v2
|
||||
name: mixingx-protocol-server-unit
|
||||
description: Deploy one MixingX edge protocol test server instance.
|
||||
type: application
|
||||
version: 1.0.10
|
||||
appVersion: "1.0.10"
|
||||
version: 1.0.1
|
||||
appVersion: "1.0.1"
|
||||
@@ -2,5 +2,5 @@ apiVersion: v2
|
||||
name: mixingx-sso
|
||||
description: MixingX SSO standalone release (backend, web, and PostgreSQL).
|
||||
type: application
|
||||
version: 1.0.10
|
||||
appVersion: "1.0.10"
|
||||
version: 1.0.1
|
||||
appVersion: "1.0.1"
|
||||
@@ -2,5 +2,5 @@ apiVersion: v2
|
||||
name: mixingx-ultra
|
||||
description: "MixingX Ultra dashboard standalone release: ultra backend, ultra web, and ultra PostgreSQL."
|
||||
type: application
|
||||
version: 1.0.10
|
||||
appVersion: "1.0.10"
|
||||
version: 1.0.1
|
||||
appVersion: "1.0.1"
|
||||
Reference in new issue
Block a user