mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-02-06 09:16:40 +00:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes - **New Features** - Introduced new configuration parameters for Jetstream, including `jetstream.size` and `jetstream.enabled`, enhancing storage and functionality options. - Added support for merging additional configurations with `config.merge` and `config.resolver`. - **Bug Fixes** - Improved password generation and configuration merging logic for better flexibility in deployments. - **Version Updates** - NATS application version updated from `0.3.1` to `0.4.0`. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
64 lines
1.8 KiB
YAML
64 lines
1.8 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: {}
|