Give tls session ticket key fields better names. (#186)

oneof doesn't provide any namespace scoping, so the names looked
too generic where they're used in implementations.

Signed-off-by: Greg Greenway ggreenway@apple.com
pull/187/merge
Greg Greenway 7 years ago committed by htuch
parent e14661aa93
commit ea20cc35d1
  1. 8
      api/sds.proto

@ -104,7 +104,7 @@ message CommonTlsContext {
// e.g. to allow both RSA and ECDSA certificates [V2-API-DIFF].
// TLS certificates can be either configured locally or fetched from SDS.
repeated TlsCertificate tls_certificates = 2;
repeated SdsSecretConfig sds_secret_configs = 6;
repeated SdsSecretConfig tls_certificate_sds_secret_configs = 6;
// How to validate peer certificates.
CertificateValidationContext validation_context = 3;
@ -141,9 +141,9 @@ message DownstreamTlsContext {
// If specified, Envoy will reject connections without a valid and matching SNI.
google.protobuf.BoolValue require_sni = 3;
oneof session_ticket_keys {
TlsSessionTicketKeys keys = 4;
SdsSecretConfig config = 5;
oneof session_ticket_keys_type {
TlsSessionTicketKeys session_ticket_keys = 4;
SdsSecretConfig session_ticket_keys_sds_secret_config = 5;
}
}

Loading…
Cancel
Save