Skip to content

Commit 9240d6f

Browse files
weltekialexellis
authored andcommitted
Update gateway template to support NATS Jetstream
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
1 parent 1dae784 commit 9240d6f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

chart/openfaas/templates/gateway-dep.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,12 @@ spec:
137137
value: "{{ .Values.nats.channel }}"
138138
{{- end }}
139139
{{- end }}
140+
{{- if or .Values.nats.external.enabled (eq .Values.nats.queueMode "jetstream") }}
141+
{{- if eq .Values.nats.queueMode "jetstream" }}
142+
- name: faas_nats_jetstream
143+
value: "true"
144+
{{- end }}
145+
{{- end }}
140146
{{- if .Values.basic_auth }}
141147
- name: basic_auth
142148
value: "true"

0 commit comments

Comments
 (0)