Open Stono opened 2 months ago
How about validating this fields before applying
Do you mean in istiod's validator so it's rejected by the apiServer if invalid?
By extension to this I just messed up an envoyfilter
spec:
configPatches:
- applyTo: HTTP_FILTER
match:
context: SIDECAR_OUTBOUND
listener:
filterChain:
filter:
name: envoy.filters.network.http_connection_manager
subFilter:
name: envoy.filters.http.router
patch:
operation: INSERT_BEFORE
value:
name: decompressor
typed_config:
'@type': type.googleapis.com/envoy.extensions.filters.http.decompressor.v3.Decompressor
decompressor_library:
name: basic
typed_config:
'@type': type.googleapis.com/envoy.extensions.compression.gzip.decompressor.v3.Gzip
chunk_size: 8192
max_inflate_ratio: <---- set value bigger than the max (1032) here
window_bits: 15
And that had the same effect, chaos :D feels like these typed_configs could be checked by a validating webhook?
Is this the right place to submit this?
Bug Description
I've been fiddling with the external http auth provider in meshconfig, eg:
The problem in the config above is on the
x-auth-request-client-id
, i can't get it to work (it's accepted by istiod however), it just wasn't working (the error is it should be ENVIRONMENT, not ENV).I decided to restart the workload to see if it was some sort of non-updating config issue, but then the proxy failed to start:
And the workload was stuck.
Removing
includeAdditionalHeadersInCheck
allowed the workload to start.Version
Additional Information
No response