Skip to content

feat(agent-portal): add Agent Portal Helm chart - #245

Merged
pavlelee merged 2 commits into
tkestack:mainfrom
TencentCloudADP-DevRel:feat/agent-portal
Aug 11, 2026
Merged

feat(agent-portal): add Agent Portal Helm chart#245
pavlelee merged 2 commits into
tkestack:mainfrom
TencentCloudADP-DevRel:feat/agent-portal

Conversation

@TencentCloudADP-DevRel

@TencentCloudADP-DevRel TencentCloudADP-DevRel commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add incubator/agent-portal for deploying Agent Portal (enterprise agent portal) on TKE.
  • Align external access with the ADP chart convention: clb / clbId / scheme / clbScheme / clbCertId. The chart binds an existing CLB through kubernetes.io/ingress.existLbId, and the certificate Secret is prefixed with the release name to avoid colliding with ADP in the same namespace.
  • Render all runtime configuration into a Secret mounted as .env, so database and object storage credentials never land in a ConfigMap.
  • Use the ADP activation-code license mode. The chart ships a default CheckLicense endpoint and public key, and creates a least-privilege RBAC rule (get namespaces/kube-system) only when no instance ID is provided.
  • Document installation from the TKE app market in the README, with parameter details pointing at the full values.yaml.

Test plan

  • helm lint and helm template pass, and values.schema.json validation takes effect.
  • Install on a TKE test cluster with CLB / MySQL / COS / app secrets filled in; pods reach Running.
  • Ingress binds the existing CLB and the HTTPS domain returns 200.
  • A super admin can paste the activation code on the license page to complete activation.

概述

  • 新增 incubator/agent-portal,用于在 TKE 上部署 Agent Portal(企业智能体门户)。
  • 对外访问对齐 ADP Chart 约定:clb / clbId / scheme / clbScheme / clbCertId。通过 kubernetes.io/ingress.existLbId 绑定已有 CLB,证书 Secret 带 release 前缀,避免与同命名空间的 ADP 撞名。
  • 运行时配置统一渲染到 Secret 并以 .env 挂载,数据库与对象存储密钥不会进入 ConfigMap。
  • License 采用 ADP 激活码模式。Chart 内置默认 CheckLicense 地址与公钥;仅在未指定实例 ID 时创建最小权限 RBAC(get namespaces/kube-system)。
  • README 提供 TKE 应用市场安装指引,参数说明指向完整的 values.yaml

测试计划

  • helm linthelm template 通过,values.schema.json 校验生效。
  • 在 TKE 测试集群安装:填写 CLB / MySQL / COS / 应用密钥后 Pod 正常 Running。
  • Ingress 绑定已有 CLB,HTTPS 域名访问返回 200。
  • 超级管理员可在授权页粘贴激活码完成 License 激活。

Chart 默认提供正式 CheckLicense、公钥与最小 RBAC;仅保留 adp 模式。
README 改为应用市场安装指引并指向完整 values.yaml。

Co-authored-by: Cursor <cursoragent@cursor.com>
@TencentCloudADP-DevRel TencentCloudADP-DevRel changed the title feat(agent-portal): 新增 Agent Portal Helm Chart feat(agent-portal): add Agent Portal Helm chart Aug 11, 2026
Move the built-in platform-manager public key out of values.yaml so
market install parameters stay user-facing; leave LICENSE_PUBLIC_KEY
empty unless R&D provides an override.

Co-authored-by: Cursor <cursoragent@cursor.com>
@pavlelee

Copy link
Copy Markdown
Collaborator

lgtm

@pavlelee
pavlelee merged commit 78c6b63 into tkestack:main Aug 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants