k8s-hub: evaluate H2 Extended CONNECT for exec #1590
Labels
No labels
epic
fleet:hub
fleet:identity
fleet:ingress
fleet:offload
fleet:sveltos
needs-triage
ready-for-agent
ready-for-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/clusters#1590
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Forced backend.http.version: HTTP1 in k8s-hub/base/oauth-policy.yaml to make kubectl exec work (h2 strips Upgrade). Follow up: check if agentgateway can support H2 Extended CONNECT (RFC8441) for exec websockets so we can drop HTTP1 and regain h2 multiplexing for watches. See faa19b0c.
Note: after dual-auth split, passthrough now correctly uses CA-only HTTP1 (no mTLS) so apiserver OIDC RBAC is respected (was 401 due to JWT on passthrough). Fix scoped JWT to exchange only (fe7af238). 401 vs 403 now correct per RBAC; Hunter ginjiruu with mini-admins/portable-admins now 200. Keep for H2 Extended CONNECT revisit.
Terminology correction (agentgateway → current architecture). agentgateway is no longer in the apiserver path. The k8s-hub now fronts each apiserver with Cilium Gateway API (the
gateway/cilium-defaultgateway); the RFC 8693 token exchange is done by the custom authz-bridge (CRDs inoauth.animeteamspeak.moe). agentgateway is now AI-only.Specifically for this ticket:
k8s-hub/base/oauth-policy.yamlno longer exists — the base files areapiserver-backend.yaml,apiserver-ca.yaml,httproute.yaml,listenerset.yaml,tls-policy.yaml, and the OIDC config now lives in the per-cluster overlays asOidcPolicy/TokenExchangePolicy(overlays/<cluster>/<cluster>-oidcpolicy.yaml,oauth.animeteamspeak.moe/v1alpha1). Thebackend.http.version: HTTP1forcing referenced here is not present in the current tree.