QUESTION: Static Configuration Failing Validation
- Dominant language
- C++
- Stars
- 28.9k
- Forks
- 5.6k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 437
Description
**QUESTION: Static Configuration for Admission Control Failing Validation**
*Description*:
I’m trying to write a [static configuration file](https://gist.github.com/hshamji/1c4b4f105709a8d242a0a2d8e9b37f40) to configure an [admission control filter](https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/admission_control_filter) in a testing environment. The `sr_threshold` and `max_rejection_probability` fields are the source of errors. The configuration is valid if I comment them out (so that default values are used). It seems the problem is a type issue with v3.Percent for those 2 fields. `INVALID_ARGUMENT:(sr_threshold.default_value): invalid value "95.0" for type type.googleapis.com/envoy.type.v3.Percent`
What am I doing wrong here? I’ve tried numerous combinations of specifying the typed_config or not, etc, copying patterns from other examples, etc
Thank you!
Contributor guide
Assessment
This issue has not been assessed yet.