Skip to content

Commit

Permalink
TM upgrade - env vars (#339)
Browse files Browse the repository at this point in the history
* Update values for tm db

* Update env vars for TM api
  • Loading branch information
Rub21 authored Sep 13, 2024
1 parent f70c84f commit 82ef277
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
14 changes: 14 additions & 0 deletions osm-seed/templates/tasking-manager-api/tm-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,20 @@ spec:
value: {{ .Values.tmApi.env.TM_IMPORT_MAX_FILESIZE | default "1000000" | quote }}
- name: TM_MAX_AOI_AREA
value: {{ .Values.tmApi.env.TM_MAX_AOI_AREA | default "5000" | quote }}

- name: TM_CLIENT_ID
value: {{ .Values.tmApi.env.TM_CLIENT_ID | quote }}
- name: TM_CLIENT_SECRET
value: {{ .Values.tmApi.env.TM_CLIENT_SECRET | quote }}
- name: TM_DEFAULT_CHANGESET_COMMENT
value: {{ .Values.tmApi.env.TM_DEFAULT_CHANGESET_COMMENT | quote }}
- name: TM_REDIRECT_URI
value: {{ .Values.tmApi.env.TM_REDIRECT_URI | quote }}
- name: TM_SCOPE
value: {{ .Values.tmApi.env.TM_SCOPE | quote }}
- name: TM_APP_API_VERSION
value: {{ .Values.tmApi.env.TM_APP_API_VERSION | quote }}

{{- if .Values.tmApi.nodeSelector.enabled }}
nodeSelector:
{{ .Values.tmApi.nodeSelector.label_key }} : {{ .Values.tmApi.nodeSelector.label_value }}
Expand Down
4 changes: 4 additions & 0 deletions osm-seed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,10 @@ tmDb:
POSTGRES_DB: tm
POSTGRES_PASSWORD: tm
POSTGRES_USER: postgres
persistenceDisk:
enabled: false
mountPath: /var/lib/postgresql/data
subPath: postgresql-db
resources:
enabled: false
requests:
Expand Down

0 comments on commit 82ef277

Please sign in to comment.