Skip to content

Commit

Permalink
Tk partners routes (#298)
Browse files Browse the repository at this point in the history
* Add merge plans CDC source

* Add a data partners service to be used for ingestion of partner data and local redirects

* Use a dedicated port for readiness probes

* Temporarily remove readiness probe

* Updates to get intercepts working
  • Loading branch information
toddkazakov authored Oct 25, 2024
1 parent 4806fff commit c870316
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
4 changes: 1 addition & 3 deletions charts/tidepool/charts/data/templates/1-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,14 @@ spec:
key: ServiceAuth
- name: TIDEPOOL_DATA_SERVICE_SERVER_ADDRESS
value: :{{ .Values.global.ports.data }}
- name: TIDEPOOL_DATA_SOURCE_CLIENT_ADDRESS
value: http://data:{{ .Values.global.ports.data }}
- name: TIDEPOOL_DEPRECATED_DATA_STORE_DATABASE
value: data
- name: TIDEPOOL_SYNC_TASK_STORE_DATABASE
value: data
image: "{{ .Values.deployment.image }}"
securityContext:
{{- .Values.podSecurityContext | toYaml | nindent 10 }}
{{ template "charts.platform.probes" .Values.global.ports.data}}
{{ template "charts.platform.probes" .Values.global.ports.data }}
name: data
ports:
- containerPort: {{.Values.global.ports.data}}
Expand Down
13 changes: 12 additions & 1 deletion charts/tidepool/charts/data/templates/4-routetable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
regex: "/v1/users/[^/]+/data_sets"
routeAction:
single:
upstream:
upstream:
name: data
options:
timeout: "60s"
Expand Down Expand Up @@ -418,4 +418,15 @@ spec:
single:
upstream:
name: data
- matchers:
- methods:
- GET
- POST
- PUT
- DELETE
prefix: /v1/partners/
routeAction:
single:
upstream:
name: data
{{- end }}

0 comments on commit c870316

Please sign in to comment.