go.ligato.io/vpp-agent/v3@v3.5.0/tests/e2e/e2etest/resources/grpc-secure-full.conf (about)

     1  # GRPC endpoint defines IP address and port (if tcp type) or unix domain socket file (if unix type).
     2  endpoint: 127.0.0.1:9111
     3  
     4  # If unix domain socket file is used for GRPC communication, permissions to the file can be set here.
     5  # Permission value uses standard three-or-four number linux binary reference.
     6  permission: 000
     7  
     8  # If socket file exists in defined path, it is not removed by default, GRPC plugin tries to use it.
     9  # Set the force removal flag to 'true' ensures that the socket file will be always re-created
    10  force-socket-removal: false
    11  
    12  # Available socket types: tcp, tcp4, tcp6, unix, unixpacket. If not set, defaults to tcp.
    13  network: tcp
    14  
    15  # Maximum message size in bytes for inbound mesages. If not set, GRPC uses the default 4MB.
    16  #max-msg-size: 4096
    17  
    18  # Limit of server streams to each server transport.
    19  max-concurrent-streams: 0
    20  
    21  # TLS configuration:
    22  
    23  # If `true` TLS configuration from this config will be SKIPPED.
    24  insecure-transport: false
    25  
    26  # Required for creating secure connection.
    27  cert-file: /etc/certs/cert1.pem
    28  
    29  # Also required for creating secure connection.
    30  key-file: /etc/certs/cert1-key.pem
    31  
    32  # Set custom CA to verify client's certificate.
    33  # If not set, client's certificate is not required.
    34  ca-files:
    35    - /etc/certs/ca.pem