mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-03-20 22:41:18 +00:00
77 lines
2.2 KiB
YAML
77 lines
2.2 KiB
YAML
|
|
## @section Common parameters
|
|
|
|
## @param external Enable external access from outside the cluster
|
|
## @param replicas Persistent Volume size for NATS
|
|
## @param storageClass StorageClass used to store the data
|
|
##
|
|
external: false
|
|
replicas: 2
|
|
storageClass: ""
|
|
## @param users [object] Users configuration
|
|
## Example:
|
|
## users:
|
|
## user1:
|
|
## password: strongpassword
|
|
## user2: {}
|
|
users: {}
|
|
|
|
jetstream:
|
|
## @param jetstream.size Jetstream persistent storage size
|
|
## Specifies the size of the persistent storage for Jetstream (message store).
|
|
## Default: 10Gi
|
|
size: 10Gi
|
|
|
|
## @param jetstream.enabled Enable or disable Jetstream
|
|
## Set to true to enable Jetstream for persistent messaging in NATS.
|
|
## Default: true
|
|
enabled: true
|
|
|
|
config:
|
|
## @param config.merge Additional configuration to merge into NATS config
|
|
## Allows you to customize NATS server settings by merging additional configurations.
|
|
## For example, you can add extra parameters, configure authentication, or set custom settings.
|
|
## Default: {}
|
|
## example:
|
|
##
|
|
## merge:
|
|
## $include: ./my-config.conf
|
|
## zzz$include: ./my-config-last.conf
|
|
## server_name: nats
|
|
## authorization:
|
|
## token: << $TOKEN >>
|
|
## jetstream:
|
|
## max_memory_store: << 1GB >>
|
|
##
|
|
## will yield the config:
|
|
## {
|
|
## include ./my-config.conf;
|
|
## "authorization": {
|
|
## "token": $TOKEN
|
|
## },
|
|
## "jetstream": {
|
|
## "max_memory_store": 1GB
|
|
## },
|
|
## "server_name": "nats",
|
|
## include ./my-config-last.conf;
|
|
## }
|
|
merge: {}
|
|
## @param config.resolver Additional configuration to merge into NATS config
|
|
## Allows you to customize NATS server settings by merging resolver configurations.
|
|
## Default: {}
|
|
## Example see: https://github.com/nats-io/k8s/blob/main/helm/charts/nats/values.yaml#L247
|
|
resolver: {}
|
|
|
|
## @param resources Resources
|
|
resources: {}
|
|
# resources:
|
|
# limits:
|
|
# cpu: 4000m
|
|
# memory: 4Gi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 512Mi
|
|
|
|
## @param resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if resources is set (resources is recommended for production).
|
|
resourcesPreset: "nano"
|