Release v0.10.0
Added
The Stream and Consumer CRDs have a preventUpdate
flag which can be used to prevent the controller applying any updates. This can be helpful when upgrading from a version previous to v0.7.2 which supports updates to ensure there are no side effects to the streams and consumers.
---
apiVersion: jetstream.nats.io/v1beta2
kind: Account
metadata:
name: nack-account-a
spec:
name: nack-account-a
servers:
- nats://js:[email protected]:4222
---
apiVersion: jetstream.nats.io/v1beta2
kind: Stream
metadata:
name: nack-limits-a
spec:
description: "example"
name: nack-limits-a
subjects: ["nack-limits-a"]
storage: file
replicas: 3
retention: limits
preventDelete: true
preventUpdate: true
account: nack-account-a
---
apiVersion: jetstream.nats.io/v1beta2
kind: Consumer
metadata:
name: nack-consumer-a
spec:
description: "example"
streamName: nack-limits-a
durableName: A
deliverPolicy: all
filterSubject: nack-limits-a
maxDeliver: 20
ackPolicy: explicit
ackWait: 30s
preventDelete: true
preventUpdate: true
account: nack-account-a
- Added logic to clearing 'Error' state on controller restart
- Improve repairing of 'Error' condition from streams consumers due to update conflicts in Kubernetes.