Skip to content

Commit c793867

Browse files
weltekialexellis
authored andcommitted
Update Chart to support stream replication setting
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
1 parent c275c06 commit c793867

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

chart/openfaas/templates/jetstream-queueworker-dep.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ spec:
5454
value: "{{ .Values.nats.channel }}"
5555
- name: nats_durable
5656
value: "{{ .Values.jetstreamQueueWorker.durableName }}"
57+
- name: nats_stream_replication
58+
value: "{{ .Values.nats.streamReplication }}"
5759
- name: gateway_address
5860
value: "http://gateway.{{ .Release.Namespace }}.svc.{{ .Values.kubernetesDNSDomain }}"
5961
- name: ack_wait

chart/openfaas/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ stan:
241241
nats:
242242
channel: "faas-request"
243243
queueMode: ""
244+
streamReplication: 1
244245
external:
245246
clusterName: ""
246247
enabled: false

0 commit comments

Comments
 (0)