@@ -465,7 +465,7 @@ type GRPCServerConfig struct {
465465 // These service names must match the service names advertised by gRPC itself,
466466 // which are identical to the names set in our gRPC .proto files prefixed by
467467 // the package names set in those files (e.g. "ca.CertificateAuthority").
468- Services map [string ]GRPCServiceConfig `json:"services" validate:"required,dive,required"`
468+ Services map [string ]* GRPCServiceConfig `json:"services" validate:"required,dive,required"`
469469 // MaxConnectionAge specifies how long a connection may live before the server sends a GoAway to the
470470 // client. Because gRPC connections re-resolve DNS after a connection close,
471471 // this controls how long it takes before a client learns about changes to its
@@ -476,10 +476,10 @@ type GRPCServerConfig struct {
476476
477477// GRPCServiceConfig contains the information needed to configure a gRPC service.
478478type GRPCServiceConfig struct {
479- // PerServiceClientNames is a map of gRPC service names to client certificate
480- // SANs. The upstream listening server will reject connections from clients
481- // which do not appear in this list, and the server interceptor will reject
482- // RPC calls for this service from clients which are not listed here .
479+ // ClientNames is the list of accepted gRPC client certificate SANs.
480+ // Connections from clients not in this list will be rejected by the
481+ // upstream listener, and RPCs from unlisted clients will be denied by the
482+ // server interceptor .
483483 ClientNames []string `json:"clientNames" validate:"min=1,dive,hostname,required"`
484484}
485485
0 commit comments