Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TM upgrade - env vars #339

Merged
merged 2 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading