Repository navigation
feat(custom): support governed identity and ingress mTLS - #366
Merged
Merged
Conversation
Reuse approved Entra projection, native Broker/Connections authorization and scoped TLS endpoints for common-executor Custom agents. Preserve legacy boundaries, provider-token exclusion, image entrypoints and retained ownership; add Portal and Pi client integration with offline regression coverage. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Integrate the merged Custom model-selection and bound-Pod topology repairs. Revalidate the combined Custom identity, TLS, terminal, and served-admission paths without changing the focused feature patch. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Resolve Custom identity and ingress mTLS conflicts with upstream Gateway initialization and Kubernetes access. Preserve suspended grant handling, approved cross-namespace TLS controls and the upstream Gateway regression test import. Keep the existing PR history; the merged tree matches the locally validated integration exactly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Return a fresh fetch Response for each Team options request and explicitly qualify Custom in the Gateway catalog. Assert that required identity stays locked on and creation submits the permitted identity and model sources exactly once. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Resolve the runtime chart schema and immutable chart reconstruction conflicts by retaining Custom ingress server names alongside managed observed-SNI capture controls. Preserve both features and the original historical byte/hash assertions. Validated offline chart rendering, full Helm and proxy packages, Custom and observed-SNI controller regressions, isolated API admission, operator vet/build, and Portal creation tests/build. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Pengfei Ni (feiskyer)
requested changes
Oct 30, 2026
8 tasks done
Match the Gateway-only runtime chart contract in the unified release inventory. This unblocks the actual eight-chart packaging regression shared by policy/helper CI and the runtime image job without changing image scan gates. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use the protected per-Agent TLS plan to verify the approved Cilium listener and Service target port, while keeping the Portal's HTTP-to-mesh route and ordinary Chat behavior. Share the API listener port with the compiler and reject mismatched identities, hosts, backends and plaintext targets. Exercise compiler-generated mTLS policy output through Chat resolution, observation, model listing and completion dispatch. Keep the synthetic fixture checked against the real compiler and document regeneration; no Portal certificate reads or credential sharing are introduced. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
FumingZhang
added a commit
that referenced
this pull request
Oct 30, 2026
Resolve #369 against merged #366 while preserving explicit capture probes, terminal TLS separation and CAS retries. Reuse the shared Chat TLS port and retain both compiled and drift regression tests, including the approved Secret source references. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
Summary
Complete three related capabilities for policy-governed Custom Agents in one PR:
The common executor remains the only lifecycle/authorization authority. No provider token is returned to a Custom workload, and an enable flag alone never grants a connection or cloud permission.
Related issue
Follows the agreed Custom common-executor scope in #354 and the public Agent Harness contract. The requested remaining identity/Connections/mTLS work is kept in this single PR rather than introducing another lifecycle engine.
Main was integrated again after #357 and #359 merged. The final branch includes those prerequisites, and the feature patch-id is unchanged by that integration. Their repairs are not duplicated in this PR's diff against main. Other outstanding migration, Kubernetes/FQDN and obsolete-infra work is not included.
Validation
Commands are shown relative to the checkout root. Offline Go checks selected Go 1.27.3 with
GOPROXY=off GOSUMDB=off GOTOOLCHAIN=local GOWORK=off GOFLAGS='-mod=readonly -p=2' GOMAXPROCS=4 GOTELEMETRY=off. Isolated API-server checks usedKUBECONFIG=/dev/null USE_EXISTING_CLUSTER=falseandKUBEBUILDER_ASSETSpointing to the checksum-pinned Kubernetes 1.37.0 bundle. Other tools: Helm 3.22.0, Node 24.18.0, npm 12.0.1, Envoy 1.36.3 and Hugo 0.164.0 extended.Explicit Custom allowlist Helm renders also passed for Operator, Broker and Portal using synthetic settings. Initially missing frontend/Pi dependencies were restored from their existing lockfiles and local cache. Missing API-server/Envoy tools were provisioned separately at documented versions/checksums; no shared installation or dependency versions were changed.
Not run: full repository
make check/test/lint, the complete Operator/controller/envtest matrix, container image builds, live cluster deployment, actual Istio/SDS/Cilium/Kata/runc/CSI qualification, real federation/OAuth/GitHub App/OBO/provider calls, or full live model/tool acceptance. These need separately authorized environments and prerequisites. Local TLS and synthetic API tests are not security certification or maintainer acceptance.Compatibility and operational impact
Checklist