|
@ -38,7 +38,7 @@ spec: |
|
|
protocol: TCP |
|
|
protocol: TCP |
|
|
env: |
|
|
env: |
|
|
- name: DATABASE_URL |
|
|
- name: DATABASE_URL |
|
|
value: {{ printf "postgresql://%s:%s@%s:5432/%s" .Values.postgresql.postgresqlUsername .Values.postgresql.postgresqlPassword (include "postgresql.fullname" .) .Values.postgresql.postgresqlDatabase| quote }} |
|
|
value: {{ printf "postgresql://%s:%s@%s:5432/%s" .Values.postgresql.auth.username .Values.postgresql.auth.password (include "postgresql.fullname" .) .Values.postgresql.auth.database| quote }} |
|
|
- name: ADMIN_PASSWORD |
|
|
- name: ADMIN_PASSWORD |
|
|
value: "{{ .Values.sigi.adminPassword }}" |
|
|
value: "{{ .Values.sigi.adminPassword }}" |
|
|
- name: ADMIN_EMAIL |
|
|
- name: ADMIN_EMAIL |
|
@ -59,7 +59,7 @@ spec: |
|
|
# - mountPath: /var/interlegis/sigi/data |
|
|
# - mountPath: /var/interlegis/sigi/data |
|
|
# name: data |
|
|
# name: data |
|
|
- mountPath: /srv/interlegis/sigi/media |
|
|
- mountPath: /srv/interlegis/sigi/media |
|
|
name: media |
|
|
name: {{ include "sigi.fullname" . }}-media |
|
|
livenessProbe: |
|
|
livenessProbe: |
|
|
httpGet: |
|
|
httpGet: |
|
|
path: / |
|
|
path: / |
|
@ -85,7 +85,7 @@ spec: |
|
|
# secret: |
|
|
# secret: |
|
|
# defaultMode: 440 |
|
|
# defaultMode: 440 |
|
|
# secretName: {{ include "sigi.fullname" . }}-secretkey |
|
|
# secretName: {{ include "sigi.fullname" . }}-secretkey |
|
|
- name: media |
|
|
- name: {{ include "sigi.fullname" . }}-media |
|
|
{{- if .Values.persistence.enabled }} |
|
|
{{- if .Values.persistence.enabled }} |
|
|
persistentVolumeClaim: |
|
|
persistentVolumeClaim: |
|
|
claimName: {{ include "sigi.fullname" . }}-media |
|
|
claimName: {{ include "sigi.fullname" . }}-media |
|
|