Skip to content

Commit

Permalink
Update examples to use file storage
Browse files Browse the repository at this point in the history
This change was made so the default example config from
new Nats Helm Charts work out of the box with Nack examples.

Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
  • Loading branch information
Jarema committed Jan 22, 2024
1 parent 316eca2 commit b36cc11
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion deploy/examples/stream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ metadata:
spec:
name: mystream
subjects: ["orders.*"]
storage: memory
storage: file
maxAge: 1h
replicas: 1
2 changes: 1 addition & 1 deletion deploy/examples/stream_mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: mystream-mirror
spec:
name: mystream-mirror
storage: memory
storage: file
mirror:
name: my-publish-subj
externalApiPrefix: FOO.JS.API
Expand Down
2 changes: 1 addition & 1 deletion deploy/examples/stream_placement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: mystream-placement
spec:
name: mystream-placement
storage: memory
storage: file
placement:
tags:
- NODE_0
2 changes: 1 addition & 1 deletion deploy/examples/stream_sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: mystream-sources
spec:
name: mystream-sources
storage: memory
storage: file
sources:
- name: m1
- name: m2
2 changes: 1 addition & 1 deletion deploy/examples/streamtemplate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ spec:
name: mystreamtemplate
maxStreams: 2
subjects: ["orders.*"]
storage: memory
storage: file
maxAge: 1h

0 comments on commit b36cc11

Please sign in to comment.