Skip to content

Commit

Permalink
feat: update configuration in helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Sep 28, 2021
1 parent 3520ca3 commit 76bce44
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions charts/sjr/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ data:
enabled: true
address: ":8080"
{{ with .Values.nats }}
nats:
output:
{{ toYaml . | nindent 6 }}
{{ end }}
{{ with .Values.logger }}
Expand All @@ -22,8 +22,8 @@ data:
telemetry:
{{ toYaml . | nindent 6 }}
{{ end }}
{{ with .Values.streaming }}
streaming:
{{ with .Values.input }}
input:
{{ toYaml . | nindent 6 }}
{{ end }}
channel: {{ .Values.channel }}
Expand Down
10 changes: 6 additions & 4 deletions charts/sjr/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,15 @@ logger:
tag: "saf"
address: "127.0.0.1:9000"

nats:
input:
url: "nats://nats:4222"

streaming:
url: "nats://nats:4222"
clusterid: "snapp"
output:
group: "sjr"
type: "streaming"
streaming:
url: "nats://nats:4222"
clusterid: "snapp"

telemetry:
trace:
Expand Down

0 comments on commit 76bce44

Please sign in to comment.