nats-io / k8s

NATS on Kubernetes with Helm Charts
Apache License 2.0
444 stars 300 forks source link

Add parameter for configuring the Jetstream domain #874

Closed protochron closed 5 months ago

protochron commented 5 months ago

Add the ability to set a Jetstream domain on the NATS cluster.

caleblloyd commented 5 months ago

If the value only affects 1 place in the config, as this one does, we prefer to use the merge key under the respective config section. That way we don't have to add to values.yaml for every possible config option, and any valid NATS Config is already supported! Example:

config:
  jetstream:
    merge:
      domain: your-domain

Full docs with all possible sections that can be merged: https://artifacthub.io/packages/helm/nats/nats