natsio/jetstream-controller:0.6.0
Changed
- ⚠️ The API version is now
jetstream.nats.io/v1beta2
Added
Support to bind Streams/Consumers into different accounts. Example binding an account to a Stream:
---
apiVersion: jetstream.nats.io/v1beta2
kind: Account
metadata:
name: a
spec:
name: a
servers:
- nats://nats:4222
tls:
secret:
name: nack-a-tls
ca: "ca.crt"
cert: "tls.crt"
key: "tls.key"
Then the stream can be bound to that account as follows:
---
apiVersion: jetstream.nats.io/v1beta2
kind: Stream
metadata:
name: foo
spec:
name: foo
subjects: ["foo", "foo.>"]
storage: file
replicas: 1
account: a