Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
Update chart with nats config
Browse files Browse the repository at this point in the history
  • Loading branch information
0nkery committed Jun 13, 2023
1 parent 2fc8ec8 commit c4a5803
Showing 2 changed files with 23 additions and 0 deletions.
20 changes: 20 additions & 0 deletions chart/templates/app-cm.yaml
Original file line number Diff line number Diff line change
@@ -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 }}
3 changes: 3 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
@@ -48,6 +48,9 @@ clusterService:
http: 8080
metrics: 8888

nats: {}
nats_consumer: {}

tls:
secretName: tls-certificates

0 comments on commit c4a5803

Please sign in to comment.