From 8b037ce00112854cdd4c8c177a399eb1d5cde3f7 Mon Sep 17 00:00:00 2001 From: Keny Villela Date: Thu, 14 Jul 2022 08:14:59 -0300 Subject: [PATCH] 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