Skip to content

Commit

Permalink
fix(dash): improper inbox subscribing
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Nov 11, 2023
1 parent fd23f8c commit 33ce413
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions templates/dash/dash-common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,4 @@ spec:
- dash.optimize.>
subscribe:
- _inbox.>
- _INBOX.>
4 changes: 2 additions & 2 deletions templates/dash/dash-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
13 changes: 9 additions & 4 deletions templates/dash/namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ spec:
publish:
- dash.raw.>
subscribe:
- _inbox.>
- _inbox.*
- _INBOX.>
---
apiVersion: v1
kind: ServiceAccount
Expand All @@ -51,11 +52,13 @@ metadata:
spec:
permissions:
publish:
- _inbox.>
- _inbox.*
- _INBOX.>
- dash.optimize.>
- dash.schedule.>
subscribe:
- _inbox.>
- _inbox.*
- _INBOX.>
- dash.raw.>
---
apiVersion: v1
Expand All @@ -78,10 +81,12 @@ metadata:
spec:
permissions:
publish:
- _inbox.>
- _inbox.*
- _INBOX.>
- dash
- dash.>
subscribe:
- _inbox.>
- _INBOX.>
- dash
- dash.>

0 comments on commit 33ce413

Please sign in to comment.