Skip to content

Commit 561182f

Browse files
committed
add example
1 parent 2629a6b commit 561182f

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

‎packages/apps/nats/values.yaml‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,32 @@ config:
3232
## Allows you to customize NATS server settings by merging additional configurations.
3333
## For example, you can add extra parameters, configure authentication, or set custom settings.
3434
## Default: {}
35+
## example:
36+
##
37+
## merge:
38+
## $include: ./my-config.conf
39+
## zzz$include: ./my-config-last.conf
40+
## server_name: nats
41+
## authorization:
42+
## token: << $TOKEN >>
43+
## jetstream:
44+
## max_memory_store: << 1GB >>
45+
##
46+
## will yield the config:
47+
## {
48+
## include ./my-config.conf;
49+
## "authorization": {
50+
## "token": $TOKEN
51+
## },
52+
## "jetstream": {
53+
## "max_memory_store": 1GB
54+
## },
55+
## "server_name": "nats",
56+
## include ./my-config-last.conf;
57+
## }
3558
merge: {}
3659
## @param config.resolver Additional configuration to merge into NATS config
3760
## Allows you to customize NATS server settings by merging resolver configurations.
3861
## Default: {}
62+
## Example see: https://github.com/nats-io/k8s/blob/main/helm/charts/nats/values.yaml#L247
3963
resolver: {}

0 commit comments

Comments
 (0)