Browse Source

env variables complementation

master
Keny Villela 2 years ago
parent
commit
8b037ce001
  1. 2
      charts/sigi/v0.1.0/templates/deployment.yaml
  2. 5
      charts/sigi/v0.1.0/values.yaml

2
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

5
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

Loading…
Cancel
Save