|
1 | | -apiVersion: v1 |
2 | | -kind: ConfigMap |
3 | | -metadata: |
4 | | - name: {{ template "common.names.fullname" . }}-properties |
5 | | - namespace: {{ include "common.names.namespace" . | quote }} |
6 | | - labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }} |
7 | | - {{- if .Values.commonAnnotations }} |
8 | | - annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} |
9 | | - {{- end }} |
10 | | -data: |
11 | | - source-fitbit.properties: | |
12 | | - name=radar-fitbit-source |
13 | | - connector.class=org.radarbase.connect.rest.fitbit.FitbitSourceConnector |
14 | | - tasks.max={{ .Values.connector_num_tasks }} |
15 | | - rest.source.base.url={{ .Values.fitbit_api_url }} |
16 | | - rest.source.poll.interval.ms={{ .Values.rest_source_poll_interval_ms | int }} |
17 | | - rest.source.request.generator.class=org.radarbase.connect.rest.fitbit.request.FitbitRequestGenerator |
18 | | - fitbit.api.client={{ .Values.fitbit_api_client }} |
19 | | - fitbit.api.secret={{ .Values.fitbit_api_secret }} |
20 | | - fitbit.api.intraday={{ .Values.includeIntradayData }} |
21 | | - fitbit.user.repository.class=org.radarbase.connect.rest.fitbit.user.{{ .Values.user_repository_class }} |
22 | | - fitbit.user.repository.url={{ .Values.radar_rest_sources_backend_url }} |
23 | | - fitbit.user.repository.client.id={{ .Values.oauthClientId }} |
24 | | - fitbit.user.repository.client.secret={{ .Values.oauthClientSecret }} |
25 | | - fitbit.user.repository.oauth2.token.url={{ .Values.auth_url }} |
26 | | - fitbit.user.poll.interval={{ .Values.fitbit_user_poll_interval | int }} |
27 | | - application.loop.interval.ms={{ .Values.application_loop_interval_ms | int }} |
28 | | - user.cache.refresh.interval.ms={{ .Values.user_cache_refresh_interval_ms | int}} |
29 | | - {{- if and .Values.kafka_wait.enabled .Values.kafka_wait.properties }} |
30 | | - kafka-wait.properties: | |
31 | | - {{ .Values.kafka_wait.properties | indent 4 }} |
32 | | - {{- end }} |
0 commit comments