From fd91b808516e14bacde0e0462c92a33074db7cf6 Mon Sep 17 00:00:00 2001 From: Julian Sommer <115516918+juliansommer@users.noreply.github.com> Date: Wed, 11 Mar 2026 13:57:49 +1000 Subject: [PATCH] fix: hardcoded predastore nats url --- cmd/hive/cmd/templates/predastore.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/hive/cmd/templates/predastore.toml b/cmd/hive/cmd/templates/predastore.toml index 08274565a..1bc2198ac 100644 --- a/cmd/hive/cmd/templates/predastore.toml +++ b/cmd/hive/cmd/templates/predastore.toml @@ -83,7 +83,7 @@ policy = [ # IAM authentication via NATS KV (enables multi-account S3 access) [iam] -nats_url = "nats://localhost:4222" +nats_url = "nats://{{if eq .BindIP "0.0.0.0"}}localhost{{else}}{{.BindIP}}{{end}}:4222" nats_token = "{{.NatsToken}}" master_key_path = "{{.ConfigDir}}/master.key" access_keys_bucket = "hive-iam-access-keys" \ No newline at end of file