Skip to content

Commit

Permalink
Fix installation guide (#163)
Browse files Browse the repository at this point in the history
closes #157

* Fix installation guide
* Update examples to use file storage

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 <[email protected]>
  • Loading branch information
Jarema authored Jan 22, 2024
1 parent c6069c5 commit ba66484
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Now install with Helm:

```
helm repo add nats https://nats-io.github.io/k8s/helm/charts/
helm install nats nats/nats --set=nats.jetstream.enabled=true
helm install nats nats/nats --set=config.jetstream.enabled=true
helm install nack nats/nack --set jetstream.nats.url=nats://nats:4222
```

Expand Down
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 ba66484

Please sign in to comment.