Skip to content

PMREQ-821: Add Gateway API support to Manager controller#5032

Draft
vara2504 wants to merge 1 commit into
tigera:masterfrom
vara2504:vara-PMREQ-821-cig-manager
Draft

PMREQ-821: Add Gateway API support to Manager controller#5032
vara2504 wants to merge 1 commit into
tigera:masterfrom
vara2504:vara-PMREQ-821-cig-manager

Conversation

@vara2504

Copy link
Copy Markdown
Contributor

Summary

  • Add shared UIGatewaySpec type (spec.gateway) to ManagerSpec for configuring CIG access to the Manager UI
  • Add shared render package (pkg/render/gateway) that produces Gateway, HTTPRoute, BackendTLSPolicy, ReferenceGrant, and TLS Secret
  • Wire the Manager controller to reconcile gateway resources when spec.gateway is set, including GatewayAPI CR validation and OIDC hostname mismatch warnings

Depends on: tigera/calico-private#TBD (RBAC + E2E tests)

Test plan

  • go build ./pkg/controller/manager/... ./pkg/render/gateway/... — compiles cleanly
  • go vet ./pkg/controller/manager/... ./pkg/render/gateway/... — no issues
  • Unit tests for render/gateway package
  • E2E: Manager accessible through Gateway (in calico-private PR)
  • E2E: Warning when GatewayAPI CR missing (in calico-private PR)

Release Note

Add support for exposing Enterprise Manager UI via Calico Ingress Gateway using spec.gateway on the Manager CR.

🤖 Generated with Claude Code

Add UIGatewaySpec shared type (spec.gateway) to ManagerSpec, a shared
render package (pkg/render/gateway) that produces Gateway, HTTPRoute,
BackendTLSPolicy, ReferenceGrant, and TLS Secret, and wire the Manager
controller to reconcile these resources when spec.gateway is set.

The controller validates the GatewayAPI CR exists and warns (without
blocking) when it is missing or the hostname mismatches the OIDC
managerDomain.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants