Skip to content

agentlab writes klaus-gateway's a2a namespace when the chart's own values turn on the change-over #1408

Backlog

Description

@fiunchinho

From the review of #1409 (it leaves klausGateway.a2a.namespace and defaultAgent to the chart when an overlay turns on platformPublicNamespace.changeOver), Codex finding R1-1.

1. R1-1: the change-over in the chart's own values is not seen

  • Input: a lab whose chart turns on platformPublicNamespace.changeOver in its own values.yaml (a chart checkout through platform.chartPath, or a later agent-platform release whose default is on), with platform.klausGateway on and no platform.valuesFiles overlay that sets the switch.
  • Code path: internal/lab/klausgateway.go, tmplData.PlatformChangeOver, reads only platform.valuesFiles. The values template (internal/lab/templates/agent-platform-values.yaml.tmpl, the klausGateway.a2a block) then writes namespace: kagent and defaultAgent: agentlab-klaus-gateway-test.
  • What goes wrong: the meta chart's render fails with klausGateway.a2a.namespace (kagent) differs from the platform's shared place (public-agents), and agentlab platform stops before the install.
  • Fix: decide the switch from the chart's effective values: its own values.yaml, then the overlays in order, so that an overlay's changeOver: false still wins. The chart the roster render loads already carries those defaults. Or stop writing a2a.namespace once every chart line the lab drives derives it (the klaus-gateway chart's own default is kagent). Test with a chart fixture whose defaults turn the change-over on.

Acceptance

  • With a chart whose own values turn on the change-over and no overlay, the lab's values carry no klausGateway.a2a.namespace and no defaultAgent, and agentlab platform renders the chart.
  • An overlay's changeOver: false over such a chart keeps namespace: kagent and the proof's fixture as the default agent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status
      Backlog 📦

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions