summaryrefslogtreecommitdiffstats
path: root/kubernetes/cps/components/cps-temporal/resources/config
diff options
context:
space:
mode:
authorBruno Sakoto <bruno.sakoto@bell.ca>2021-09-13 17:25:39 -0400
committerBruno Sakoto <bruno.sakoto@bell.ca>2021-09-21 14:41:54 -0400
commit0673de941307e4b29853706750542a446fea82f0 (patch)
treeaf35cdd28704d5de5685d07de0140dd53367525c /kubernetes/cps/components/cps-temporal/resources/config
parentb62b9cf9e7e5248972baa619c6d015459187cd64 (diff)
[CPS] Improve cps temporal charts
* To be consistent, kafka configuration can now be provided using config.eventConsumption properties, for all protocols. * Default topic name is set to 'cps.data-updated-events' to reflect the type of events it receives. * CPS readme file is removed. Issue-ID: CPS-672 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: Iaaf1f330389c5b37277e5c8dce66dff69f5a49a9
Diffstat (limited to 'kubernetes/cps/components/cps-temporal/resources/config')
-rw-r--r--kubernetes/cps/components/cps-temporal/resources/config/application-helm.yml15
1 files changed, 5 insertions, 10 deletions
diff --git a/kubernetes/cps/components/cps-temporal/resources/config/application-helm.yml b/kubernetes/cps/components/cps-temporal/resources/config/application-helm.yml
index 6654b26556..32ae51b51a 100644
--- a/kubernetes/cps/components/cps-temporal/resources/config/application-helm.yml
+++ b/kubernetes/cps/components/cps-temporal/resources/config/application-helm.yml
@@ -23,23 +23,18 @@ spring:
url: jdbc:postgresql://{{ .Values.timescaledb.service.name }}:5432/{{ .Values.timescaledb.config.pgDatabase }}
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
- kafka:
- bootstrap-servers: [{{ .Values.config.kafka.service }}:{{ .Values.config.kafka.port }}]
- security:
- protocol: {{ .Values.config.kafka.protocol }}
- consumer:
- group-id: {{ .Values.config.kafka.consumerGroupId }}
security:
auth:
username: ${APP_USERNAME}
password: ${APP_PASSWORD}
-app:
- listener:
- data-updated:
- topic: {{ .Values.config.kafka.listenerTopic }}
+# Event consumption properties (kafka)
+{{- if .Values.config.eventConsumption }}
+{{ toYaml .Values.config.eventConsumption | nindent 2 }}
+{{- end }}
+# Additional properties
{{- if .Values.config.additional }}
{{ toYaml .Values.config.additional | nindent 2 }}
{{- end }}