## @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: {}