diff --git a/chart/templates/app-cm.yaml b/chart/templates/app-cm.yaml index 09cc16c1..5ae2da5e 100644 --- a/chart/templates/app-cm.yaml +++ b/chart/templates/app-cm.yaml @@ -98,6 +98,26 @@ data: {{- end }} {{- end }} + {{- with .Values.nats }} + {{- println "" }} + [nats] + url = {{ .url | quote }} + creds = {{ .creds | quote }} + subscribe.stream = {{ .subscribe.stream | quote }} + subscribe.consumer = {{ .subscribe.consumer | quote }} + subscribe.batch = {{ .subscribe.batch }} + subscribe.idle_heartbeat = {{ .subscribe.idle_heartbeat | quote }} + {{- end }} + + {{- with .Values.nats_consumer }} + {{- println "" }} + [nats_consumer] + suspend_interval = {{ .suspend_interval | quote }} + max_suspend_interval = {{ .max_suspend_interval | quote }} + suspend_sentry_interval = {{ .suspend_sentry_interval | quote }} + resubscribe_interval = {{ .resubscribe_interval | quote }} + {{- end }} + [storage] {{- if .Values.app.storage }} base_url = {{ .Values.app.storage.url | quote }} diff --git a/chart/values.yaml b/chart/values.yaml index 56093ef0..1820a5f6 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -48,6 +48,9 @@ clusterService: http: 8080 metrics: 8888 +nats: {} +nats_consumer: {} + tls: secretName: tls-certificates