feat(gateway): 更新中心集群支撑——prepull Role + ArgoCD 配置可选注入(暂驻分支不合并)
- gateway-rbac 追加 gateway-prepull-manager Role/RoleBinding(daemonsets 增删查 + pods 只读,挂既有 gateway-sa):更新中心预拉取 DS 编排所需 - gateway Deployment 支持可选注入 gateway.updateCenter.argocdUrl / argocdTokenSecret → env Update__ArgoCd__*(缺省不注入 = 清单功能 503 降级)
This commit is contained in:
1 parent
352aa78a8f
commit
ceeb5474a9
2 files changed
+44
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user