Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- **Substrate 1.18 and the Google access-token plugin 0.3: the credential providers read Secrets only where a grant points** (giantswarm/agent-platform#1269). `components.substrate{,-crds}.versionRange` is `>=1.18.0 <1.19.0` (was `>=1.17.5 <1.18.0`) and `components.google-access-token-credential-provider.versionRange` `>=0.3.0 <0.4.0` (was `>=0.2.0 <0.3.0`), the floors from which their Secret readers are bound by namespace (see Security). 1.18.0 stays on the same upstream as 1.17.5: ate-controller reads only the egress MITM CA pool's Secret, atelet pulls actor images with `kubernetes.io/dockerconfigjson` Secrets, a CSI volume is staged once per node, and go-jose is v4.1.8 (CVE-2026-116587). Its upgrade step needs no migration, and the kagent line's builds stamped against 1.17.5 run on it.
- **`components.cluster-manager.versionRange` is `>=0.22.0`, without a ceiling** (was `>=0.22.0 <0.35.0`). No key the chart derives for cluster-manager depends on its version, so every cluster-manager release rolls in without a release of this chart; 0.35.0 onwards sets the `ui.giantswarm.io/display-name` annotation on its MCPServer, so the Dev Portal names it "Cluster Manager". `tests/verify-range-ceilings.py` exempts the components listed in its `UNCAPPED`, each with its reason.
- **agent-manager reports the namespace's default model** (giantswarm/agent-manager#298, giantswarm/giantswarm-platform-manager#789). `components.agent-manager.versionRange` is `>=2.19.0 <3.0.0` (was `>=2.16.0 <2.19.0`). `list_model_configs` marks the ModelConfig annotated `agent-platform.giantswarm.io/is-default-model-config: "true"` as `default`, and `create_agent` without a `modelConfig` takes it. Without a marked ModelConfig, `default-model-config` counts as the default outside organization namespaces. agent-manager keeps `tenants.enabled: false`.
- **The platform Harness no longer forwards the person's token** (giantswarm/giantswarm#38993). `kagent.harness.env` has no `KAGENT_PROPAGATE_TOKEN`: a runtime sends the caller's token to no MCP server, and the kagent controller hands it none. A Session agent-manager starts reaches muster with its Actor's JWT; one nobody bound gets no muster tools. `ci/test-coding-agents-values.yaml` and the commented `kagent.harnesses` examples drop the variable too. UPGRADE.md lists the order and the installation changes.
Expand Down
6 changes: 3 additions & 3 deletions helm/agent-platform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -516,13 +516,13 @@ The map is merged into each component's own `nodeSelector` (`muster.nodeSelector
| components.kagent-crds.ownedCrds[0] | string | `"modelconfigs.api.kagent.dev"` | |
| components.substrate-crds.chart | string | `"substrate-crds"` | |
| components.substrate-crds.repository | string | `"oci://gsoci.azurecr.io/giantswarm/substrate/helm"` | |
| components.substrate-crds.versionRange | string | `">=1.17.5 <1.18.0"` | |
| components.substrate-crds.versionRange | string | `">=1.18.0 <1.19.0"` | |
| components.substrate-crds.valuesFrom | string | `"substrate-crds"` | |
| components.substrate-crds.injectGlobal | bool | `false` | |
| components.substrate-crds.targetNamespace | string | `"ate-system"` | |
| components.substrate.chart | string | `"substrate"` | |
| components.substrate.repository | string | `"oci://gsoci.azurecr.io/giantswarm/substrate/helm"` | |
| components.substrate.versionRange | string | `">=1.17.5 <1.18.0"` | |
| components.substrate.versionRange | string | `">=1.18.0 <1.19.0"` | |
| components.substrate.valuesFrom | string | `"substrate"` | |
| components.substrate.injectGlobal | bool | `false` | |
| components.substrate.targetNamespace | string | `"ate-system"` | |
Expand All @@ -537,7 +537,7 @@ The map is merged into each component's own `nodeSelector` (`muster.nodeSelector
| components.substrate.upgradeRemediation.retries | int | `3` | |
| components.google-access-token-credential-provider.chart | string | `"google-access-token-credential-provider"` | |
| components.google-access-token-credential-provider.repository | string | `"oci://gsoci.azurecr.io/charts/giantswarm"` | |
| components.google-access-token-credential-provider.versionRange | string | `">=0.2.0 <0.3.0"` | |
| components.google-access-token-credential-provider.versionRange | string | `">=0.3.0 <0.4.0"` | |
| components.google-access-token-credential-provider.valuesFrom | string | `"google-access-token-credential-provider"` | |
| components.google-access-token-credential-provider.injectGlobal | bool | `false` | |
| components.google-access-token-credential-provider.targetNamespace | string | `"ate-system"` | |
Expand Down
6 changes: 3 additions & 3 deletions helm/agent-platform/examples/customer-bom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ components:
agent-platform-mcps: { versionRange: "0.9.0" }
kagent: { versionRange: "1.31.0" }
kagent-crds: { versionRange: "1.31.0" }
substrate: { versionRange: "1.17.5" }
substrate-crds: { versionRange: "1.17.5" }
google-access-token-credential-provider: { versionRange: "0.2.0" }
substrate: { versionRange: "1.18.0" }
substrate-crds: { versionRange: "1.18.0" }
google-access-token-credential-provider: { versionRange: "0.3.0" }
klaus-gateway: { versionRange: "4.11.0" }
agent-sandbox: { versionRange: "0.2.31" }
dicebear: { versionRange: "0.3.10" }
Expand Down
24 changes: 15 additions & 9 deletions helm/agent-platform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -848,9 +848,13 @@ components: # @schema additionalProperties: true
# kagent line's own pin moves
# (README "Agent Substrate"). A mirror sets `repository` here and
# substrate.image.registry below, which the derived worker image follows.
# The floor is 1.17.5, the Substrate release the kagent line's 1.24
# builds are published against (tests/verify-worker-image.py). From
# 1.17.0 ate-api serves the actor JWT mint as
# The floor is 1.18.0, on the same upstream as 1.17.5, the Substrate
# release the kagent line's 1.24 builds are published against
# (tests/verify-worker-image.py, SAME_UPSTREAM). From 1.18.0 the
# credential provider's Secret reader is bound only where the derived
# namespacePolicies grant (credentialProvider.rbac.namespaces) and
# ate-controller reads only the egress MITM CA pool's Secret
# (giantswarm/agent-platform#1269); from 1.17.0 ate-api serves the actor JWT mint as
# Control.MintActorJwt and its egress gateway runs agentgateway 2.6.5,
# which mints through that name (a 1.16 ate-api with that gateway, or a
# 1.17 ate-api with an older one, answers every actor_jwt header source
Expand All @@ -863,7 +867,7 @@ components: # @schema additionalProperties: true
# (https://idp.<namespace>.svc) muster verifies a Session's actor JWT
# against (muster.credentialProvider.actorBearer, on with Substrate).
repository: oci://gsoci.azurecr.io/giantswarm/substrate/helm
versionRange: ">=1.17.5 <1.18.0"
versionRange: ">=1.18.0 <1.19.0"
# Follows gitops.prereleases like every component: from 1.4.0 on the
# line's ate-controller runs every gVisor pool on the ateom-gvisor of the
# release Flux resolved (ateController.gvisorWorker.followRelease, which
Expand Down Expand Up @@ -892,7 +896,7 @@ components: # @schema additionalProperties: true
# — so this release installs with a real readiness wait and no
# installDisableWait. The kagent release comes after it.
repository: oci://gsoci.azurecr.io/giantswarm/substrate/helm
versionRange: ">=1.17.5 <1.18.0"
versionRange: ">=1.18.0 <1.19.0"
valuesFrom: substrate
injectGlobal: false
targetNamespace: ate-system
Expand Down Expand Up @@ -946,11 +950,13 @@ components: # @schema additionalProperties: true
# (agent-platform.componentDerivedValues). The Substrate chart routes the
# class to it through substrate.credentialProvider.additionalProviders
# below; a Substrate release before 1.14.0 refuses that entry, its bundled
# provider serving the name itself. The floor is 0.2.0, the first plugin
# that reads the selector grants agentPlatformOrganizations.enabled derives; an
# older plugin refuses its policy file at start.
# provider serving the name itself. The floor is 0.3.0, whose chart binds
# its Secret reader only where the derived namespacePolicies grant
# (rbac.namespaces, giantswarm/agent-platform#1269); from 0.2.0 the plugin
# reads the selector grants agentPlatformOrganizations.enabled derives (an
# older plugin refuses its policy file at start).
repository: oci://gsoci.azurecr.io/charts/giantswarm
versionRange: ">=0.2.0 <0.3.0"
versionRange: ">=0.3.0 <0.4.0"
valuesFrom: google-access-token-credential-provider
injectGlobal: false
targetNamespace: ate-system
Expand Down
14 changes: 10 additions & 4 deletions tests/golden/meta-ci-engine-off.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1859,6 +1859,9 @@ spec:
- allowedNamespaces:
- kagent
atespace: ate-golden
rbac:
namespaces:
- kagent
substrate:
namespace: ate-system
releaseName: substrate
Expand Down Expand Up @@ -2143,7 +2146,7 @@ spec:
requests:
cpu: 250m
memory: 512Mi
workerImage: gsoci.azurecr.io/giantswarm/substrate/ateom-gvisor:1.17.5
workerImage: gsoci.azurecr.io/giantswarm/substrate/ateom-gvisor:1.18.0
ui:
image:
repository: giantswarm/kagent/ui
Expand Down Expand Up @@ -2634,6 +2637,9 @@ spec:
- allowedNamespaces:
- kagent
atespace: ate-golden
rbac:
namespaces:
- kagent
image:
registry: gsoci.azurecr.io
repository: giantswarm/substrate
Expand Down Expand Up @@ -3057,7 +3063,7 @@ spec:
mediaType: application/vnd.cncf.helm.chart.content.v1.tar+gzip
operation: copy
ref:
semver: ">=0.2.0 <0.3.0"
semver: ">=0.3.0 <0.4.0"
---
# Source: agent-platform/templates/components.yaml
apiVersion: source.toolkit.fluxcd.io/v1
Expand Down Expand Up @@ -3195,7 +3201,7 @@ spec:
mediaType: application/vnd.cncf.helm.chart.content.v1.tar+gzip
operation: copy
ref:
semver: ">=1.17.5 <1.18.0"
semver: ">=1.18.0 <1.19.0"
---
# Source: agent-platform/templates/components.yaml
apiVersion: source.toolkit.fluxcd.io/v1
Expand All @@ -3218,7 +3224,7 @@ spec:
mediaType: application/vnd.cncf.helm.chart.content.v1.tar+gzip
operation: copy
ref:
semver: ">=1.17.5 <1.18.0"
semver: ">=1.18.0 <1.19.0"
---
# Source: agent-platform/templates/components.yaml
apiVersion: source.toolkit.fluxcd.io/v1
Expand Down
3 changes: 2 additions & 1 deletion tests/verify-toolchain-manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,8 @@ def main(meta: str, connectivity: str) -> int:
d = documents(helm(meta, [*IDENTITY, *AGENTS, *PRIVATE, *LINES]))
must_lack(values(d[("HelmRelease", "agent-manager")]), ("registryConfig", "agent-toolchains"), "the agent-manager release values with the component off")
must_lack(values(d[("HelmRelease", "substrate")]), ("toolchains-pull",), "the substrate release values with the component off")
d = documents(helm(meta, [*ON, *IDENTITY, *AGENTS, *PRIVATE, "--set", "components.agent-manager.versionRange=>=2.14.0 <3.0.0"]))
d = documents(helm(meta, [*ON, *IDENTITY, *AGENTS, *PRIVATE, "--set", "components.agent-manager.versionRange=>=2.14.0 <3.0.0",
"--set", "components.substrate.versionRange=>=1.17.5 <1.18.0", "--set", "components.substrate-crds.versionRange=>=1.17.5 <1.18.0"]))
must_lack(values(d[("HelmRelease", "agent-manager")]), ("registryConfig",), "the agent-manager release values below the 2.16.0 floor")
must_lack(values(d[("HelmRelease", "substrate")]), ("toolchains-pull",), "the substrate release values below the 1.18.0 floor")
if "differs from toolchain-manager.registryPullSecret" not in helm(meta, [*ON, *IDENTITY, *AGENTS, *PRIVATE, *LINES, "--set", "agent-manager.toolchains.registryConfig.secretName=other"], expect_fail=True):
Expand Down
3 changes: 2 additions & 1 deletion tests/verify-worker-image.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@
# 1.15 stays on v0.5.0-alpha2 as well: the per-actor DNS query count travels between the worker and atelet (`WorkloadStatsSample.dns_queries`, field 14), which the kagent controller never sees.
# 1.16 stays on v0.5.0-alpha2 as well: `EgressRule.tcp` is a new oneof member (field 4) no earlier client sets, and agentgateway 2.5.0 is the egress gateway's own, so kagent's egress-policy writes keep their meaning.
# 1.17 stays on v0.5.0-alpha2 as well: the actor JWT mint's rename to `MintActorJwt` is between ate-api and the egress gateway, which the kagent controller never calls.
SAME_UPSTREAM = {(1, 2): {(1, 1)}, (1, 3): {(1, 1), (1, 2)}, (1, 8): {(1, 7)}, (1, 10): {(1, 9)}, (1, 11): {(1, 9), (1, 10)}, (1, 12): {(1, 9), (1, 10), (1, 11)}, (1, 13): {(1, 9), (1, 10), (1, 11), (1, 12)}, (1, 14): {(1, 9), (1, 10), (1, 11), (1, 12), (1, 13)}, (1, 15): {(1, 9), (1, 10), (1, 11), (1, 12), (1, 13), (1, 14)}, (1, 16): {(1, 9), (1, 10), (1, 11), (1, 12), (1, 13), (1, 14), (1, 15)}, (1, 17): {(1, 9), (1, 10), (1, 11), (1, 12), (1, 13), (1, 14), (1, 15), (1, 16)}}
# 1.18 stays on v0.5.0-alpha2 as well: atelet's image pull secrets, a CSI volume staged once per node and the narrowed Secret RBAC of ate-controller and the credential provider change no proto, CRD, schema or snapshot layout (its upgrade step needs no migration).
SAME_UPSTREAM = {(1, 2): {(1, 1)}, (1, 3): {(1, 1), (1, 2)}, (1, 8): {(1, 7)}, (1, 10): {(1, 9)}, (1, 11): {(1, 9), (1, 10)}, (1, 12): {(1, 9), (1, 10), (1, 11)}, (1, 13): {(1, 9), (1, 10), (1, 11), (1, 12)}, (1, 14): {(1, 9), (1, 10), (1, 11), (1, 12), (1, 13)}, (1, 15): {(1, 9), (1, 10), (1, 11), (1, 12), (1, 13), (1, 14)}, (1, 16): {(1, 9), (1, 10), (1, 11), (1, 12), (1, 13), (1, 14), (1, 15)}, (1, 17): {(1, 9), (1, 10), (1, 11), (1, 12), (1, 13), (1, 14), (1, 15), (1, 16)}, (1, 18): {(1, 9), (1, 10), (1, 11), (1, 12), (1, 13), (1, 14), (1, 15), (1, 16), (1, 17)}}


def tuple_of(version: str) -> str:
Expand Down
Loading