Commit graph

2 commits

Author SHA1 Message Date
Kenneth Jenkins
2fc3886b9d rework error handling and validation 2023-08-08 10:07:55 -07:00
Kenneth Jenkins
d45a5d1bee config: move mTLS settings to new struct
Move downstream mTLS settings to a nested config file object, under the
key 'downstream_mtls', and add a new DownstreamMTLSSettings struct for
these settings.

Deprecate the existing ClientCA and ClientCAFile fields in the Options
struct, but continue to honor them for now (log a warning if either is
populated).

Delete the ClientCRL and ClientCRLFile fields entirely (in current
releases these cannot be set without causing an Envoy error, so this
should not be a breaking change).

Update the Settings proto to mirror this nested structure.
2023-08-07 12:40:31 -07:00