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 }}" value: "{{ .Values.sigi.emailHost }}"
- name: TZ - name: TZ
value: "{{ .Values.sigi.timeZone }}" value: "{{ .Values.sigi.timeZone }}"
- name: LANG
value: "{{ .Values.sigi.language }}"
volumeMounts: volumeMounts:
# - mountPath: /var/interlegis/sigi/data # - mountPath: /var/interlegis/sigi/data
# name: data # name: data

5
charts/sigi/v0.1.0/values.yaml

@ -57,6 +57,7 @@ sigi:
emailHost: mail.interlegis.leg.br emailHost: mail.interlegis.leg.br
timeZone: 'America/Sao_Paulo' timeZone: 'America/Sao_Paulo'
hostname: 'sigi.interlegis.leg.br' hostname: 'sigi.interlegis.leg.br'
language: 'pt_BR.UTF-8'
ingress: ingress:
enabled: true enabled: true
@ -102,6 +103,10 @@ postgresql:
password: sigi password: sigi
username: sigi username: sigi
database: sigi database: sigi
primary:
extraEnvVars:
- name: LANG
value: pt_BR.UTF-8
resources: resources:
requests: requests:
cpu: 50m cpu: 50m

Loading…
Cancel
Save