Repository navigation
fix(skill-manager): reach the login provider on a private installation - #1384
Merged
Merged
Conversation
The skill-manager's MCP backend entry carries its issuer (identityProvider), and the connectivity chart renders a CiliumNetworkPolicy for its pods with the managers' identity-provider egress: the issuer's host by name on 443 and the cluster entity on 443 and 10443. On Cilium the chart's own ipBlock rule matches no in-cluster endpoint, so a Dex reached through the in-cluster Gateway was unreachable. verify-manager-identity.py checks the identity-provider egress of every manager and fails a component with an oauth block that it does not check.
…Policy The identity-provider entry is derived only while skill-manager.networkPolicy.enabled, so the added Cilium policy never makes the pods default-deny alone. muster's login is read through one helper (agent-platform.identity.musterLogin) by agent-platform.identity.apply and the skill-manager's issuer. The pod selector follows skill-manager.nameOverride. Tests pin the issuer order, the off switches, the podSelector guard and the kubernetes flavour.
The MCP backend entry's podSelector follows skill-manager.name: nameOverride, an empty one meaning skill-manager, cut to 63 characters without a trailing hyphen. An explicitly empty nameOverride no longer gives app.kubernetes.io/name: "", which selected no pod and left the skill-manager's ingress open.
fiunchinho
marked this pull request as ready for review
November 12, 2026 13:34
Published Helm chart
|
| Chart | agent-platform |
| Version | 4.179.2-r6cda4ff9t20261112134851hf701b64 |
| OCI reference | oci://gsoci.azurecr.io/charts/giantswarm/agent-platform:4.179.2-r6cda4ff9t20261112134851hf701b64 |
| Digest | sha256:f755bcf571660f8af790e8c973c34a71acc93d9a92ab9d8900a361a312bce45d |
| Registry | public — gsoci.azurecr.io |
| Git catalog | giantswarm-test-catalog (index) |
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/agent-platform --version 4.179.2-r6cda4ff9t20261112134851hf701b64Posted by architect-orb · build 32167 · commit f701b64 · updated in place on every push
Published Helm chart
|
| Chart | agent-platform-connectivity |
| Version | 4.179.2-r6cda4ff9t20261112134851hf701b64 |
| OCI reference | oci://gsoci.azurecr.io/charts/giantswarm/agent-platform-connectivity:4.179.2-r6cda4ff9t20261112134851hf701b64 |
| Digest | sha256:680a9760d94fffa44946fb6d9b0fc17f24bb000a750e27c814ed3c349b51ee95 |
| Registry | public — gsoci.azurecr.io |
| Git catalog | giantswarm-test-catalog (index) |
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/agent-platform-connectivity --version 4.179.2-r6cda4ff9t20261112134851hf701b64Posted by architect-orb · build 32168 · commit f701b64 · updated in place on every push
verify-default-agent pins the skill-manager's MCP backend entry; it now carries identityProvider.
teemow
added a commit
that referenced
this pull request
Nov 13, 2026
* origin/main: (21 commits) feat(default-agent): make the General Assistant proactive (#1399) fix(connectivity): bound MCPServer descriptions, mirror kagent's and describe mcp-kubernetes (#1398) feat: support agent-manager 3.x and on-demand GitHub grants (#1375) feat(default-agent): tag the General Assistant general and platform (#1397) feat(connectivity): describe the kagent MCPServer for the developer portal (#1390) docs(skills): guard agent creation against silent wrong keys, skipped listings and wrong model routes (#1392) fix(network-policies): admit only the owning Gateway's Envoy proxy, not every Envoy pod (#1394) chore: move the ATS default and the docs example ModelConfig to Claude Sonnet 5.5 (#1395) refactor(organizations): one source for agent-platform-operator's names in both charts (#1389) feat(agent-manager): take agent-manager 2.24.0 or later, for the Dev Portal's organization pages (#1371) feat(helm): annotate component HelmReleases and OCIRepositories with the owning team (#1385) fix(skill-manager): reach the login provider on a private installation (#1384) fix(skill-manager): take the OAuth client from muster's login, like the other managers (#1381) ci: render every component on a schedule against main and the latest releases (#1377) docs(skills): show a sign-in muster refuses instead of calling core_auth_login (#1376) chore(deps): update gsoci.azurecr.io/giantswarm/agent-manager docker tag to v2.24.0 (#1370) test(organizations): wait for every admission policy and RBAC object before the dry runs (#1373) fix(tenants): let every organization member read its members (#1369) feat: ship the default agent (General Assistant) and the platform skills with the chart (#1265) test(organizations): prove that an organization admin's Secret delete never answers with the Secret, and pin the admin mirrors (#1366) ... # Conflicts: # helm/agent-platform/README.md # helm/agent-platform/examples/customer-bom.yaml # helm/agent-platform/templates/_helpers.tpl # helm/agent-platform/values.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
After #1381 (stable 4.179.1) the skill-manager installs on the public installations. On a private one (wallaby) its HelmRelease still fails with
Helm install failed ... context deadline exceeded. The pod runs but never listens:Attempts 2 and 3 fail the same way (30 s each). Its arguments already have the right client and
--dex-issuer-url=https://dex.wallaby.g8m.wepacloud.eu: the pod cannot reach Dex.Cause
On wallaby the Dex hostname resolves to an internal address, and the traffic ends at the in-cluster Gateway, whose Envoy listens on 10443. With Cilium's service translation, policy sees the destination as an in-cluster pod (the
clusterentity) on 10443.NetworkPolicy(chart 0.1.5,templates/networkpolicy.yaml) allows egress only toipBlock 0.0.0.0/0on 443. On Cilium that CIDR rule matchesworldonly, never an in-cluster endpoint, so discovery times out.agent-platform.idpEgress.cilium: the issuer's host by name on 443 and theclusterentity on 443 and 10443, in…-model-manager-egress,…-agent-manager-egressand the others. The skill-manager's values do not reach the connectivity release (omitKeys), so it had no such policy.egressCIDRsanddexEgressare ipBlocks or namespace selectors, and none of them matches the Gateway's pods.Change
networkPolicy.mcpBackends.skill-manager) carriesidentityProvider: {provider: dex, issuerUrl}.oauth.dex.issuerURL, elseglobal.identity.issuerUrl, else muster's login.NetworkPolicyare on.agent-platform.identity.musterLogin).agent-platform.identity.applyand the skill-manager's issuer both call it.skill-manager.name:nameOverride, where empty meansskill-manager, cut to 63 characters without a trailing hyphen).networkpolicy-mcp-backend-idp-egress.yamlrenders, Cilium flavour only, aCiliumNetworkPolicy<release>-mcp-backend-<key>-idp-egressfor each entry withidentityProvider.podSelector(app.kubernetes.io/name: skill-manager). An entry without apodSelectorfails the render.agent-platform.idpEgress.cilium, the same rules the managers get.identityProvideris added to themcpBackendsschema.docs/reference.mddescribes the skill-manager's egress to the login.Tests
tests/verify-manager-identity.py(make verify-managers):clusteron 443 and 10443).global.identity, then its own value wins). There is none with its OAuth off or with its ownNetworkPolicyoff.oauthblock that the script does not render. The one exception is workspace-manager, with its reason.origin/main:FAIL: idp egress: no Cilium policy gives skill-manager's pods {'toFQDNs': [{'matchName': 'dex.ci.example.com'}], ...}; it has [].tests/verify-idp-egress.py(make verify-idp-egress): an MCP backend entry withidentityProvidergets the rules. It fails the render without apodSelector, and it renders nothing in the kubernetes flavour.kagent.database.postgres.urlFile,kagent.harness.snapshotLocation, andingress.parentRefs[0].namefor the connectivity render;--api-versions cilium.io/v2):agent-platform-connectivity-mcp-backend-skill-manager-idp-egresshas the same two identity-provider rules as…-model-manager-egressand…-agent-manager-egress:toFQDNs dex.wallaby.g8m.wepacloud.euon 443, andtoEntities: [cluster]on 443 and 10443.make verify-managers verify-idp-egress verify-target verify-components-chartspass.make golden-update:meta-ci-engine-off.yamlgains the entry'sidentityProvider.Review
skill-manager.networkPolicy.enabled: falsethe new policy would make the pods' egress default-deny (GitHub, registries, OTLP blocked)global.identity, its own issuer, OAuth offagent-platform.identity.musterLoginnameOverrideskill-manager.nameOverridegave the selectorapp.kubernetes.io/name: "", which selects no pod, so the skill-manager's ingress policy stopped isolating itskill-manager.namerule (empty meansskill-manager, cut to 63 characters without a trailing hyphen);verify-managerschecks an empty, a short and a 64-character overridepodSelectorguard and the kubernetes flavour had no testverify-idp-egressidpEgress.cilium'sclusterentity on 443/10443 opens every in-cluster pod, for every caller; toolchain-manager's egress to the login is not checkedDeferred: narrowing the identity-provider egress to the Gateway's pods, and toolchain-manager's egress to the login, #1383.
Effect: private installations, where the login's hostname resolves to the in-cluster Gateway, on Cilium. The skill-manager reaches Dex and installs. On public installations its pods gain the same additional allow the managers have.