This repository has been archived by the owner on Nov 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
49 lines (49 loc) · 1.86 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
options:
client-port:
type: int
default: 4222
description: A port NATS listens on for incoming client connections.
cluster-port:
type: int
default: 4248
description: A port NATS listens on for incoming cluster connections.
listen-on-all-addresses:
type: boolean
default: false
description: |
Whether to use 0.0.0.0 for the client listening socket or not (all IPv4 and IPv6 addresses).
NATS does not support multiple "listen" directives and the charm will error out if there are
cross-model relations that result in multiple *different* bind-addresses available for relations of the
client relation endpoint.
tls-key:
type: string
default: ""
description: A TLS server key to be used by NATS.
tls-cert:
type: string
default: ""
description: A TLS server certificate to be used by NATS.
tls-ca-cert:
type: string
default: ""
description: |
A CA certificate to be used for verification of TLS certificates of NATS cluster peers.
Optional if TLS certificates are signed by a certificate authority that the core snap trusts.
verify-tls-clients:
type: boolean
default: true
description: Enable or disable mandatory client TLS certificate verification.
map-tls-clients:
type: boolean
default: false
description: |
Enable or disable usage of values in client certificates for authentication purposes (used in
conjunction with verify-tls-clients only.
debug:
type: boolean
default: false
description: Enable nats-server debug logging.
trace:
type: boolean
default: false
description: Enable tracing of raw protocol messages for nats-server.