Skip to content

Conversation

@Horiodino
Copy link
Contributor

Description

Adds support for generating Gateway API HTTPRoute resources from the OpenTelemetryCollector v1beta1 spec. Includes the new httpRoute configuration.

Link to tracking Issue(s)

Testing

  • added unit tests for httpRoute
  • ran controller locally with httpRoute enabled

Documentation

  • added API docs and changelog.

    apiVersion: opentelemetry.io/v1beta1
    kind: OpenTelemetryCollector
    spec:
      mode: deployment
      httpRoute:
        enabled: true
        gateway: my-gateway        # required
        gatewayNamespace: default   (defaults to collector namespace)
        hostName: "otel.example.com" 

    When enabled, the operator automatically generates an HTTPRoute per HTTP port exposed by the collector’s configuration.

@Horiodino Horiodino requested a review from a team as a code owner November 19, 2025 13:17
@Horiodino
Copy link
Contributor Author

cc @frzifus

@jaronoff97 jaronoff97 requested a review from frzifus November 24, 2025 14:53
@jaronoff97
Copy link
Contributor

@frzifus mind reviewing this one?

@frzifus
Copy link
Member

frzifus commented Nov 24, 2025

Yes, set it on my list for tomorrow morning!

Copy link
Member

@frzifus frzifus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Horiodino ! I lefts some comments :)

Would be great if we could provide at least one e2e test to verify the httproute gets created and recognized by a gateway. Maybe we can deploy a standalone nginx or envoy for this.

@Horiodino
Copy link
Contributor Author

cc @frzifus

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.

3 participants