From 33ce413c6cf71e97ca534ee0315d236cb5d6e14f Mon Sep 17 00:00:00 2001 From: Ho Kim Date: Sat, 11 Nov 2023 17:36:29 +0000 Subject: [PATCH] fix(dash): improper inbox subscribing --- templates/dash/dash-common.yaml | 1 + templates/dash/dash-controller.yaml | 4 ++-- templates/dash/namespace.yaml | 13 +++++++++---- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/templates/dash/dash-common.yaml b/templates/dash/dash-common.yaml index 53e42191..775f4233 100644 --- a/templates/dash/dash-common.yaml +++ b/templates/dash/dash-common.yaml @@ -87,3 +87,4 @@ spec: - dash.optimize.> subscribe: - _inbox.> + - _INBOX.> diff --git a/templates/dash/dash-controller.yaml b/templates/dash/dash-controller.yaml index 5d27f3b3..7f80e3b0 100644 --- a/templates/dash/dash-controller.yaml +++ b/templates/dash/dash-controller.yaml @@ -53,7 +53,7 @@ spec: - dash-controller env: - name: NATS_ACCOUNT - value: nats-dash-system + value: dash-system - name: NATS_ADDRS value: nats - name: NATS_PASSWORD_PATH @@ -76,7 +76,7 @@ spec: volumes: - name: nats-token secret: - secretName: nats-dash-system-nats-bound-token + secretName: dash-system-nats-bound-token optional: false items: - key: token diff --git a/templates/dash/namespace.yaml b/templates/dash/namespace.yaml index 123cf9b9..cb75d7e6 100644 --- a/templates/dash/namespace.yaml +++ b/templates/dash/namespace.yaml @@ -29,7 +29,8 @@ spec: publish: - dash.raw.> subscribe: - - _inbox.> + - _inbox.* + - _INBOX.> --- apiVersion: v1 kind: ServiceAccount @@ -51,11 +52,13 @@ metadata: spec: permissions: publish: - - _inbox.> + - _inbox.* + - _INBOX.> - dash.optimize.> - dash.schedule.> subscribe: - - _inbox.> + - _inbox.* + - _INBOX.> - dash.raw.> --- apiVersion: v1 @@ -78,10 +81,12 @@ metadata: spec: permissions: publish: - - _inbox.> + - _inbox.* + - _INBOX.> - dash - dash.> subscribe: - _inbox.> + - _INBOX.> - dash - dash.>