From 12614a9230103a4e22618142b46466d9dd11b37e Mon Sep 17 00:00:00 2001 From: yuzhengtao-tx Date: Thu, 13 Aug 2026 19:05:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20ADP=E4=B8=93=E6=9C=89=E4=BA=91=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=9C=8D=E5=8A=A1=E9=85=8D=E7=BD=AE=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../adp/charts/adp-crawler/templates/service.yaml | 4 ++++ .../adp-platform-manager/templates/configmap.yaml | 2 +- .../charts/adp-plugin-exec/templates/configmap.yaml | 13 +++++++++++++ .../adp/charts/adp-pyright/templates/service.yaml | 4 ++++ 4 files changed, 22 insertions(+), 1 deletion(-) diff --git a/incubator/adp/charts/adp-crawler/templates/service.yaml b/incubator/adp/charts/adp-crawler/templates/service.yaml index a62c48d2..26234599 100644 --- a/incubator/adp/charts/adp-crawler/templates/service.yaml +++ b/incubator/adp/charts/adp-crawler/templates/service.yaml @@ -3,6 +3,10 @@ kind: Service metadata: name: adp-crawler namespace: {{ .Release.Namespace }} + annotations: + "helm.sh/hook": pre-install + "helm.sh/hook-weight": "-5" + "helm.sh/hook-delete-policy": before-hook-creation spec: ports: - name: tcp-30009-30009 diff --git a/incubator/adp/charts/adp-platform-manager/templates/configmap.yaml b/incubator/adp/charts/adp-platform-manager/templates/configmap.yaml index 5243a5cc..344ba95f 100644 --- a/incubator/adp/charts/adp-platform-manager/templates/configmap.yaml +++ b/incubator/adp/charts/adp-platform-manager/templates/configmap.yaml @@ -2078,7 +2078,7 @@ data: AGENT_BACKGROUND: MSG_LOG_ES_WHITE_ALL_OPEN: true LICENSE_HOST: - adp: "https://adp.cloud.tencent.com/cgi/apex/test/adp/platform/CheckLicense" + adp: "https://adp.cloud.tencent.com/cgi/apex/adp/platform/CheckLicense" PUBLIC_KEY: | -----BEGIN PUBLIC KEY----- MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAurReoU7qNrUu+hVIiCLM diff --git a/incubator/adp/charts/adp-plugin-exec/templates/configmap.yaml b/incubator/adp/charts/adp-plugin-exec/templates/configmap.yaml index 5122f622..6f78aeae 100644 --- a/incubator/adp/charts/adp-plugin-exec/templates/configmap.yaml +++ b/incubator/adp/charts/adp-plugin-exec/templates/configmap.yaml @@ -236,6 +236,12 @@ data: protocol: trpc network: tcp timeout: 30000 + - callee: trpc.adp.skill_config.SkillConfig + target: "ip://adp-skill-config.{{ .Release.Namespace }}.svc.cluster.local:8000" + namespace: ${NAMESPACE} + protocol: trpc + network: tcp + timeout: 30000 - callee: trpc.KEP.plugin_config_server.PluginConfig target: "ip://adp-plugin-config.{{ .Release.Namespace }}.svc.cluster.local:8000" namespace: ${NAMESPACE} @@ -3530,6 +3536,7 @@ data: PLATFORM_MANAGER_LOGIN_TARGET: "ip://adp-platform-manager.{{ .Release.Namespace }}.svc.cluster.local:9091" METROLOGY_TARGET: "ip://adp-platform-metrology.{{ .Release.Namespace }}.svc.cluster.local:8000" SKILL_CONFIG_TARGET: "ip://adp-skill-config.{{ .Release.Namespace }}.svc.cluster.local:8001" # TODO: 待人工确认 + SKILL_CONFIG_SVC_TARGET: "ip://adp-skill-config.{{ .Release.Namespace }}.svc.cluster.local:8000" PLUGIN_CONFIG_SERVER_TARGET: "ip://adp-plugin-config.{{ .Release.Namespace }}.svc.cluster.local:8000" PLUGIN_CONFIG_MCP_TARGET: "ip://adp-plugin-config.{{ .Release.Namespace }}.svc.cluster.local:8003" WORKFLOW_CONFIG_TARGET: "ip://adp-workflow-config.{{ .Release.Namespace }}.svc.cluster.local:8000" @@ -7999,6 +8006,12 @@ data: protocol: trpc network: tcp timeout: 30000 + - callee: trpc.adp.skill_config.SkillConfig + target: "ip://adp-skill-config.{{ .Release.Namespace }}.svc.cluster.local:8000" + namespace: ${NAMESPACE} + protocol: trpc + network: tcp + timeout: 30000 - callee: trpc.KEP.plugin_config_server.PluginConfig target: "ip://adp-plugin-config.{{ .Release.Namespace }}.svc.cluster.local:8000" namespace: ${NAMESPACE} diff --git a/incubator/adp/charts/adp-pyright/templates/service.yaml b/incubator/adp/charts/adp-pyright/templates/service.yaml index 052ea481..0fe6888e 100644 --- a/incubator/adp/charts/adp-pyright/templates/service.yaml +++ b/incubator/adp/charts/adp-pyright/templates/service.yaml @@ -3,6 +3,10 @@ kind: Service metadata: name: adp-pyright namespace: {{ .Release.Namespace }} + annotations: + "helm.sh/hook": pre-install + "helm.sh/hook-weight": "-5" + "helm.sh/hook-delete-policy": before-hook-creation spec: ports: - name: tcp-30008-30008