From 8b037ce00112854cdd4c8c177a399eb1d5cde3f7 Mon Sep 17 00:00:00 2001 From: Keny Villela Date: Thu, 14 Jul 2022 08:14:59 -0300 Subject: [PATCH 1/3] env variables complementation --- charts/sigi/v0.1.0/templates/deployment.yaml | 2 ++ charts/sigi/v0.1.0/values.yaml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/charts/sigi/v0.1.0/templates/deployment.yaml b/charts/sigi/v0.1.0/templates/deployment.yaml index 42c6b46..c2d32b1 100644 --- a/charts/sigi/v0.1.0/templates/deployment.yaml +++ b/charts/sigi/v0.1.0/templates/deployment.yaml @@ -55,6 +55,8 @@ spec: value: "{{ .Values.sigi.emailHost }}" - name: TZ value: "{{ .Values.sigi.timeZone }}" + - name: LANG + value: "{{ .Values.sigi.language }}" volumeMounts: # - mountPath: /var/interlegis/sigi/data # name: data diff --git a/charts/sigi/v0.1.0/values.yaml b/charts/sigi/v0.1.0/values.yaml index ee92705..4e6c8bd 100644 --- a/charts/sigi/v0.1.0/values.yaml +++ b/charts/sigi/v0.1.0/values.yaml @@ -57,6 +57,7 @@ sigi: emailHost: mail.interlegis.leg.br timeZone: 'America/Sao_Paulo' hostname: 'sigi.interlegis.leg.br' + language: 'pt_BR.UTF-8' ingress: enabled: true @@ -102,6 +103,10 @@ postgresql: password: sigi username: sigi database: sigi + primary: + extraEnvVars: + - name: LANG + value: pt_BR.UTF-8 resources: requests: cpu: 50m From e53d5c26ab9392b91a282fbeb1aec60266733b90 Mon Sep 17 00:00:00 2001 From: Keny Villela Date: Thu, 14 Jul 2022 08:29:55 -0300 Subject: [PATCH 2/3] env variables postgresql test --- charts/sigi/v0.1.0/values.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/charts/sigi/v0.1.0/values.yaml b/charts/sigi/v0.1.0/values.yaml index 4e6c8bd..b2d0830 100644 --- a/charts/sigi/v0.1.0/values.yaml +++ b/charts/sigi/v0.1.0/values.yaml @@ -103,10 +103,9 @@ postgresql: password: sigi username: sigi database: sigi - primary: - extraEnvVars: - - name: LANG - value: pt_BR.UTF-8 + extraEnvVars: + - name: LANG + value: pt_BR.UTF-8 resources: requests: cpu: 50m From 3fc5d5d5faa37e430ab68485a196de01dedef0cf Mon Sep 17 00:00:00 2001 From: Keny Villela Date: Thu, 14 Jul 2022 08:41:27 -0300 Subject: [PATCH 3/3] env variables postgresql test 2 --- charts/sigi/v0.1.0/values.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/sigi/v0.1.0/values.yaml b/charts/sigi/v0.1.0/values.yaml index b2d0830..43bdcf5 100644 --- a/charts/sigi/v0.1.0/values.yaml +++ b/charts/sigi/v0.1.0/values.yaml @@ -103,9 +103,11 @@ postgresql: password: sigi username: sigi database: sigi - extraEnvVars: + env: - name: LANG value: pt_BR.UTF-8 + - name: LANGUAGE + value: pt_BR.UTF-8 resources: requests: cpu: 50m