envoyproxy / envoyproxy/gateway

earlyRequestHeaders not accepted

Abierto
#4,672 2 comentarios 0 reacciones 0 asignados Ver en GitHub
stale triage
Lenguaje dominante
Go
Estrellas
3k
Forks
864
Merge medio
2 d 2 h
PR fusionados (30 d)
140

Descripción

Seeing the new feature with the `earlyRequestHeaders`, we found that it's essential for us so we upgraded to 1.2.1. We used `helm upgrade --install envoy-gateway oci://docker.io/envoyproxy/gateway-helm --version v1.2.1 -n envoy-gateway`

So now we have defined this resource, using syntax from the documentation page:
```
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: ClientTrafficPolicy
metadata:
name: enable-early-headers
namespace: test
spec:
targetRef:
group: gateway.networking.k8s.io
kind: Gateway
name: apps
headers:
earlyRequestHeaders:
add:
- name: "x-header-erp"
value: "foobar"
```

...and when we apply it we get this error:

`ClientTrafficPolicy in version "v1alpha1" cannot be handled as a ClientTrafficPolicy: strict decoding error: unknown field "spec.headers.earlyRequestHeaders"`

What could we be missing here?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.