Skip to content

unable to update status when HTTPRouteFilter not found #8857

Description

@zirain
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: backend
  namespace: default
spec:
  parentRefs:
    - group: gateway.networking.k8s.io
      kind: Gateway
      name: eg
  rules:
    - backendRefs:
        - group: ""
          kind: Service
          name: backend
          port: 3000
          weight: 1
          filters:
            - type: ExtensionRef
              extensionRef:
                group: gateway.envoyproxy.io
                kind: HTTPRouteFilter
                name: not-exists
      matches:
        - path:
            type: PathPrefix
            value: /not-exists
      filters:
        - type: ExtensionRef
          extensionRef:
            group: gateway.envoyproxy.io
            kind: HTTPRouteFilter
            name: not-exists

error message:

error	provider	kubernetes/status_updater.go:117	unable to update status	{"runner": "provider", "name": "backend", "namespace": "default", "kind": "HTTPRoute", "error": "HTTPRoute.gateway.networking.k8s.io \"backend\" is invalid: status.parents[0].conditions[1].reason: Invalid value: \"InvalidBackendFilters, UnsupportedValue\": parents[0].conditions[1].reason in body should match '^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$'"}

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions