Skip to content

feat: add Events proxy for Activity API forwarding#513

Merged
scotwells merged 1 commit intomainfrom
feat/events-proxy
Mar 9, 2026
Merged

feat: add Events proxy for Activity API forwarding#513
scotwells merged 1 commit intomainfrom
feat/events-proxy

Conversation

@scotwells
Copy link
Copy Markdown
Contributor

Summary

  • Add Events proxy to forward core/v1 and events.k8s.io/v1 Events to Activity API server for ClickHouse-backed storage
  • Feature-gated behind EventsProxy=true (alpha)
  • Inject multi-tenant scope annotations based on user context
  • Support full CRUD + Watch operations with mTLS authentication
  • Share single DynamicProvider between both API versions
  • Add Kustomize component for deployment configuration

Changes

Events Proxy Implementation

  • internal/apiserver/events/ - REST handlers, storage providers, dynamic provider for proxying events
  • pkg/features/features.go - Feature gate definitions including EventsProxy (alpha)
  • cmd/milo/apiserver/ - Server integration for events proxy
  • config/components/events-proxy/ - Kustomize component for enabling the proxy
  • docs/enhancements/events/activity-events-proxy.md - Design documentation

Test plan

  • Unit tests pass (task test:unit)
  • E2E tests pass (task test:end-to-end)
  • Manual verification with EventsProxy=true feature gate enabled

🤖 Generated with Claude Code

Add Events proxy to forward core/v1 and events.k8s.io/v1 Events to
Activity API server for ClickHouse-backed storage.

- Feature-gated behind EventsProxy=true (alpha)
- Inject multi-tenant scope annotations based on user context
- Support full CRUD + Watch operations with mTLS authentication
- Share single DynamicProvider between both API versions
- Add Kustomize component for deployment configuration

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@joggrbot
Copy link
Copy Markdown
Contributor

joggrbot bot commented Mar 4, 2026

📝 Documentation Analysis

All docs are up to date! 🎉


✅ Latest commit analyzed: 850a357 | Powered by Joggr

@scotwells scotwells merged commit 49118b2 into main Mar 9, 2026
8 of 9 checks passed
@scotwells scotwells deleted the feat/events-proxy branch March 9, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants