Skip to content

feat(gateway-api): Add custom backendRef and filters support for HTTPRoute #2095

feat(gateway-api): Add custom backendRef and filters support for HTTPRoute

feat(gateway-api): Add custom backendRef and filters support for HTTPRoute #2095

Triggered via pull request February 10, 2025 07:56
Status Failure
Total duration 2m 16s
Artifacts

build.yaml

on: pull_request
build-flagger
2m 9s
build-flagger
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build-flagger: pkg/router/gateway_api.go#L100
cannot use canary.Spec.Service.Primary (variable of type *"github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1".CustomMetadata) as *"github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1".CustomBackend value in argument to gwr.makeHTTPBackendRef
build-flagger: pkg/router/gateway_api.go#L101
cannot use canary.Spec.Service.Canary (variable of type *"github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1".CustomMetadata) as *"github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1".CustomBackend value in argument to gwr.makeHTTPBackendRef
build-flagger: pkg/router/gateway_api.go#L122
cannot use canary.Spec.Service.Primary (variable of type *"github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1".CustomMetadata) as *"github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1".CustomBackend value in argument to gwr.makeHTTPBackendRef
build-flagger: pkg/router/gateway_api.go#L407
cannot use canary.Spec.Service.Primary (variable of type *"github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1".CustomMetadata) as *"github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1".CustomBackend value in argument to gwr.makeHTTPBackendRef
build-flagger: pkg/router/gateway_api.go#L408
cannot use canary.Spec.Service.Canary (variable of type *"github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1".CustomMetadata) as *"github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1".CustomBackend value in argument to gwr.makeHTTPBackendRef
build-flagger: pkg/router/gateway_api.go#L462
cannot use canary.Spec.Service.Primary (variable of type *"github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1".CustomMetadata) as *"github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1".CustomBackend value in argument to gwr.makeHTTPBackendRef
build-flagger: pkg/router/gateway_api.go#L545
cannot use canary.Spec.Service.Primary (variable of type *"github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1".CustomMetadata) as *"github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1".CustomBackend value in argument to gwr.makeHTTPBackendRef
build-flagger: pkg/router/gateway_api.go#L546
cannot use canary.Spec.Service.Canary (variable of type *"github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1".CustomMetadata) as *"github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1".CustomBackend value in argument to gwr.makeHTTPBackendRef
build-flagger: pkg/router/kubernetes_default.go#L55
canary.Spec.Service.Canary.CustomMetadata undefined (type *"github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1".CustomMetadata has no field or method CustomMetadata)
build-flagger: pkg/router/kubernetes_default.go#L65
canary.Spec.Service.Primary.CustomMetadata undefined (type *"github.com/fluxcd/flagger/pkg/apis/flagger/v1beta1".CustomMetadata has no field or method CustomMetadata)