From ac24d2582af72a8629bf26cd22cdc7763a840422 Mon Sep 17 00:00:00 2001 From: Fabio Date: Tue, 14 Nov 2023 09:48:04 -0300 Subject: [PATCH] Set timezone data for containers in edemocracia --- .../edemocracia/v0.4.0/templates/audienciasweb-deployment.yaml | 2 ++ .../v0.4.0/templates/audienciasworker-deployment.yaml | 2 ++ charts/edemocracia/v0.4.0/templates/discourse-deployment.yaml | 2 ++ charts/edemocracia/v0.4.0/templates/edemocracia-deployment.yaml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/charts/edemocracia/v0.4.0/templates/audienciasweb-deployment.yaml b/charts/edemocracia/v0.4.0/templates/audienciasweb-deployment.yaml index 773655c..dd21933 100755 --- a/charts/edemocracia/v0.4.0/templates/audienciasweb-deployment.yaml +++ b/charts/edemocracia/v0.4.0/templates/audienciasweb-deployment.yaml @@ -104,6 +104,8 @@ spec: value: {{ .Values.edemocracia.siteName | quote }} - name: STATIC_URL value: /audiencias/static/ + - name: TZ + value: {{ .Values.edemocracia.timeZone | quote }} - name: URL_PREFIX value: audiencias - name: WEBSERVICE_URL diff --git a/charts/edemocracia/v0.4.0/templates/audienciasworker-deployment.yaml b/charts/edemocracia/v0.4.0/templates/audienciasworker-deployment.yaml index eebeeb8..fc2fbb7 100755 --- a/charts/edemocracia/v0.4.0/templates/audienciasworker-deployment.yaml +++ b/charts/edemocracia/v0.4.0/templates/audienciasworker-deployment.yaml @@ -101,6 +101,8 @@ spec: value: {{ .Values.edemocracia.siteName | quote }} - name: STATIC_URL value: /audiencias/static/ + - name: TZ + value: {{ .Values.edemocracia.timeZone | quote }} - name: URL_PREFIX value: audiencias - name: WEBSERVICE_URL diff --git a/charts/edemocracia/v0.4.0/templates/discourse-deployment.yaml b/charts/edemocracia/v0.4.0/templates/discourse-deployment.yaml index f56af38..2ce59bd 100755 --- a/charts/edemocracia/v0.4.0/templates/discourse-deployment.yaml +++ b/charts/edemocracia/v0.4.0/templates/discourse-deployment.yaml @@ -87,6 +87,8 @@ spec: value: {{ .Values.discourse.sso.secret | quote }} - name: DISCOURSE_SSO_URL value: "https://{{ $edemoUrl }}" + - name: TZ + value: {{ .Values.edemocracia.timeZone | quote }} - name: RAILS_ENV value: production image: {{.Values.discourse.image.repository}}:{{ .Values.discourse.image.tag }} diff --git a/charts/edemocracia/v0.4.0/templates/edemocracia-deployment.yaml b/charts/edemocracia/v0.4.0/templates/edemocracia-deployment.yaml index f07dceb..0364168 100755 --- a/charts/edemocracia/v0.4.0/templates/edemocracia-deployment.yaml +++ b/charts/edemocracia/v0.4.0/templates/edemocracia-deployment.yaml @@ -128,6 +128,8 @@ spec: value: {{ .Values.edemocracia.socialAuth.google.secret | quote }} - name: SOCIAL_AUTH_REDIRECT_IS_HTTPS value: "True" + - name: TZ + value: {{ .Values.edemocracia.timeZone | quote }} - name: WIKILEGIS_API_KEY value: {{ .Values.edemocracia.apikey | quote }} - name: WIKILEGIS_API_URL