Skip to content

LogicFlowService Controller #7

Description

@ricardozanini

Goal

Implement controller to manage service endpoints, traffic routing, and ingress

Phase: 1 (Months 1-2)

Scope

1. Core Reconciliation

  • Watch LogicFlowService resources
  • Resolve LogicFlowRuntime from runtimeRef
  • Create/update Ingress for service endpoint
  • Aggregate status from all LogicFlowDefinitions

2. Traffic Management (Basic)

  • Parse spec.traffic (definitionRef + weight)
  • Validate total weight = 100
  • Generate single Ingress (traffic splitting in EPIC 8)
  • Default routing to runtime

3. Status Management

  • Aggregate versions from all LogicFlowDefinitions
  • Report URL from Ingress
  • Set conditions

4. Ingress Generation

  • Create Ingress with host from spec
  • Configure TLS if enabled
  • Apply annotations
  • Backend: LogicFlowRuntime service

Deliverables

  • Controller implementation
  • Ingress generation logic
  • Version aggregation logic
  • Traffic validation
  • Unit tests
  • Integration tests

Dependencies: EPIC 2, 3

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions