Skip to content

Commit

Permalink
Add Kafka configuration options to Yorkie deployment template
Browse files Browse the repository at this point in the history
  • Loading branch information
emplam27 committed Feb 12, 2025
1 parent 1b2718b commit 7ff0767
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build/charts/yorkie-cluster/templates/yorkie/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ spec:
"{{ .Values.yorkie.ports.profilingPort }}",
"--backend-gateway-addr",
"{{ .Values.yorkie.name }}-gateway.{{ .Values.yorkie.namespace }}.svc.cluster.local",
{{- if and .Values.yorkie.args.kafkaAddresses .Values.yorkie.args.kafkaTopic }}
"--kafka-addresses",
"{{ .Values.yorkie.args.kafkaAddresses }}",
"--kafka-topic",
"{{ .Values.yorkie.args.kafkaTopic }}",
{{- end }}
]
ports:
- containerPort: {{ .Values.yorkie.ports.rpcPort }}
Expand Down

0 comments on commit 7ff0767

Please sign in to comment.