Skip to content

Commit

Permalink
language conf (#408)
Browse files Browse the repository at this point in the history
* fix env name for default lang option

* fix env name for default lang option

* fix env name for default lang option

* fix env name for default lang option
  • Loading branch information
case0sh authored Oct 18, 2023
1 parent 13feb53 commit a99b6b0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions charts/ocis/templates/notifications/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ spec:
{{- include "ocis.containerSecurityContext" . | nindent 10 }}
env:
{{- include "ocis.serviceRegistry" . | nindent 12 }}

- name: OCIS_DEFAULT_LANGUAGE
value: {{ default "en" .Values.features.language.default | quote }}

- name: NOTIFICATIONS_LOG_COLOR
value: {{ .Values.logging.color | quote }}
Expand Down
6 changes: 3 additions & 3 deletions charts/ocis/templates/settings/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ spec:
env:
{{- include "ocis.serviceRegistry" . | nindent 12 }}

- name: OCIS_DEFAULT_LANGUAGE
value: {{ default "en" .Values.features.language.default | quote }}

- name: SETTINGS_LOG_COLOR
value: {{ .Values.logging.color | quote }}
- name: SETTINGS_LOG_LEVEL
Expand All @@ -45,9 +48,6 @@ spec:
- name: SETTINGS_DEBUG_PPROF
value: {{ .Values.debug.profiling | quote }}

- name: SETTINGS_DEFAULT_LANGUAGE
value: {{ default "en" .Values.features.language.default | quote }}

# cache
- name: SETTINGS_CACHE_STORE
value: {{ default "memory" .Values.cache.type | quote }}
Expand Down
4 changes: 4 additions & 0 deletions charts/ocis/templates/userlog/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ spec:
{{- include "ocis.containerSecurityContext" . | nindent 10 }}
env:
{{- include "ocis.serviceRegistry" . | nindent 12 }}

- name: OCIS_DEFAULT_LANGUAGE
value: {{ default "en" .Values.features.language.default | quote }}

- name: USERLOG_LOG_COLOR
value: {{ .Values.logging.color | quote }}
- name: USERLOG_LOG_LEVEL
Expand Down

0 comments on commit a99b6b0

Please sign in to comment.