docs: Update the Traffic tapping configuration#28158
docs: Update the Traffic tapping configuration#28158phlax merged 1 commit intoenvoyproxy:mainfrom haiyuewa:update-traffic-tapping-doc
Conversation
|
Docs for this Pull Request will be rendered here: https://storage.googleapis.com/envoy-pr/28158/docs/index.html The docs are (re-)rendered each time the CI |
|
Hi @haiyuewa, welcome and thank you for your contribution. We will try to review your Pull Request as quickly as possible. In the meantime, please take a look at the contribution guidelines if you have not done so already. |
|
hi @haiyuewa thanks for raising this we have been gradually moving all of our (bootstrap) config out of rst and into yaml - this ensures that the config is tested and doesnt go stale would you be willing to shift these to yaml ? you can find exsiting examples where the config has been separated with: $ git grep literalinclude docs/im happy to help if needed |
|
@phlax
Right ? |
|
yep - thats basically the gist - you will probably need to wrap the config with bootstrap boilerplate - ie with the
i should probably write this up somewhere as it comes up a lot |
|
cc @kanurag94 |
|
@phlax Yes, I found the format. I will submit a new patch about 'Traffic tapping' as a start. .. literalinclude:: _include/http-cache-configuration.yaml
:language: yaml
:lines: 29-34
:linenos:
:lineno-start: 29
:caption: :download:`http-cache-configuration.yaml <_include/http-cache-configuration.yaml>` |
|
great, thanks @haiyuewa re patch, i would just update this pr (perhaps i misunderstand) |
|
nice work @haiyuewa docs are buiilding - just a couple of (yaml) format issues to resolve CodeChecker ERROR [yamllint] docs/root/operations/_include/traffic_tapping_plain_text.yaml (indentation 39:19): wrong indentation: expected 16 but found 18
CodeChecker ERROR [yamllint] docs/root/operations/_include/traffic_tapping_ssl.yaml (indentation 54:17): wrong indentation: expected 14 but found 16
|
|
Fixed, just copy it from the original design. ;-) |
The option 'envoy.config.tap.v3.TapConfig.match_config' has been marked deprecated by the commit 520389e ("tap: factor out the TAP filter matcher for later reuse in other filters (#12429)"). Update the option to 'envoy.config.tap.v3.TapConfig.match'. And copy the configuration out of rst and into yaml. Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
The option 'envoy.config.tap.v3.TapConfig.match_config' has been marked deprecated by the commit 520389e ("tap: factor out the TAP filter matcher for later reuse in other filters (envoyproxy#12429)"). Update the option to 'envoy.config.tap.v3.TapConfig.match'. And copy the configuration out of rst and into yaml. Signed-off-by: Haiyue Wang <haiyue.wang@intel.com> Signed-off-by: Ryan Eskin <ryan.eskin89@protonmail.com>


The option 'envoy.config.tap.v3.TapConfig.match_config' has been marked deprecated by the commit 520389e ("tap: factor out the TAP filter matcher for later reuse in other filters (#12429)").
Update the option to 'envoy.config.tap.v3.TapConfig.match'.