Skip to content

Gatewayapi httproute not setting correct port #313

Description

@bornav

NetBird Operator Version

v0.6

Kubernetes Version

v1.34

CNI

No response

Describe the bug

given this yaml

apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: grafana-proxy
  namespace: observability
spec:
  hostnames:
    - domain
  parentRefs:
    - name: public
      namespace: network
  rules:
    - backendRefs:
        - group: ""
          kind: Service
          name: grafana-service-proxy
          port: 3000
      matches:
        - path:
            type: PathPrefix
            value: /

the port set here is not propagated to the proxy resource, no matter which port is set here the one defined in the proxy dashboard is 80,

curently only workaround is creating a seperate service with target port and exposing the resource on 80, bypassing this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions