Config Dump for Secret Discovery Service.#7365
Config Dump for Secret Discovery Service.#7365lizan merged 31 commits intoenvoyproxy:masterfrom incfly:sds-cfg
Conversation
Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
|
/cc @lizan @JimmyCYJ @PiotrSikora Still some rough edges and some questions that I'm unsure, but it should be ready to take a look, thanks! |
|
fix builds? I think this is on the right track. |
Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
|
@lizan all tests pass, PTAL, thanks! |
|
Friendly ping :) |
…-cfg Signed-off-by: Jianfei Hu <jianfeih@google.com>
lizan
left a comment
There was a problem hiding this comment.
This is in right direction, can you clear your own TODOs and questions from code and merge master?
…-cfg Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
| // TODO(incfly): switch to more generic scrubbing mechanism once | ||
| // https://github.com/envoyproxy/envoy/issues/4757 is resolved. | ||
| tls_certificate->clear_private_key(); | ||
| tls_certificate->clear_password(); |
There was a problem hiding this comment.
Perhaps set those to "[redacted]" (for non-empty values) to make it possible to distinguish between value being removed for security reasons vs not being set in the first place?
There was a problem hiding this comment.
Also, while you're at it, could you make similar change to LDS and CDS config dumps? Separate PR is fine.
There was a problem hiding this comment.
Not sure what you mean? The inlined_string typed key/password from tls_certificate used in LDS/CDS dump?
Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
|
@lizan @mattklein123 is there anything that I need to merge this PR? Thanks! |
Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
Signed-off-by: Jianfei Hu <jianfeih@google.com>
docs/root/intro/version_history.rst
Outdated
| * config: changed the default value of :ref:`initial_fetch_timeout <envoy_api_field_core.ConfigSource.initial_fetch_timeout>` from 0s to 15s. This is a change in behaviour in the sense that Envoy will move to the next initialization phase, even if the first config is not delivered in 15s. Refer to :ref:`initialization process <arch_overview_initialization>` for more details. | ||
| * listeners: added :ref:`HTTP inspector listener filter <config_listener_filters_http_inspector>`. | ||
| * http: added the ability to reject HTTP/1.1 requests with invalid HTTP header values, using the runtime feature `envoy.reloadable_features.strict_header_validation`. | ||
| * admin: added config dump support for Secret Discovery Service :ref:`SecretConfigDump <envoy_api_msg_admin.v2alpha.SecretConfigDump>`. |
Signed-off-by: Jianfei Hu <jianfeih@google.com>
For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Description: Config Dump
Risk Level: Small?
Testing: Unit Test
Docs Changes: N/A(Is config_dump auto gen doc enough?)
Release Notes: config_dump handler prints out Secret Discovery Service information
[Optional Fixes #Issue] #7111