From c36b939d6788c2b4845cd7a7d547ba87a4abca8a Mon Sep 17 00:00:00 2001 From: Noa Resare Date: Sun, 23 Aug 2026 17:39:30 +0100 Subject: [PATCH] Add custom nats token audience, configure nats publish of webhooks --- .deploy/idcat.toml | 5 +++++ .deploy/manifest-builder.toml | 1 + 2 files changed, 6 insertions(+) diff --git a/.deploy/idcat.toml b/.deploy/idcat.toml index 6d3a56a..65b6e27 100644 --- a/.deploy/idcat.toml +++ b/.deploy/idcat.toml @@ -24,3 +24,8 @@ name = "nresare-buildsystem" allowed-roles = ["buildkite", "relcoord", "manual"] app-id = 3511383 secret-key = "nresare-buildsystem.key" +webhook-target = "nats" + +[nats] +endpoint = "nats://nats.nats.svc" +token-path = "/var/run/secrets/tokens/nats" diff --git a/.deploy/manifest-builder.toml b/.deploy/manifest-builder.toml index acc6039..5f2dbbe 100644 --- a/.deploy/manifest-builder.toml +++ b/.deploy/manifest-builder.toml @@ -5,3 +5,4 @@ replicas = 2 args = ["--debug"] external-secrets = ["/app-keys"] config = { "/config/idcat.toml" = "idcat.toml" } +custom-token-audiences = ["nats"]