chore(apps): move envTpl to env (#1578)

This commit is contained in:
Stavros Kois
2021-12-19 23:53:28 +01:00
committed by GitHub
parent 8825239904
commit 6a4a9dd5ee
23 changed files with 19 additions and 72 deletions
+5 -7
View File
@@ -11,6 +11,11 @@ image:
env:
# -- Set the container timezone
TZ: UTC
DJANGO_TIME_ZONE: "{{ .Values.env.TZ }}"
DJANGO_DATABASE_ENGINE: "django.db.backends.postgresql"
DJANGO_DATABASE_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
DJANGO_DATABASE_USER: "{{ .Values.postgresql.postgresqlUsername }}"
DJANGO_DATABASE_PORT: "5432"
securityContext:
readOnlyRootFilesystem: false
@@ -20,13 +25,6 @@ podSecurityContext:
runAsUser: 0
runAsGroup: 0
envTpl:
DJANGO_TIME_ZONE: "{{ .Values.env.TZ }}"
DJANGO_DATABASE_ENGINE: "django.db.backends.postgresql"
DJANGO_DATABASE_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
DJANGO_DATABASE_USER: "{{ .Values.postgresql.postgresqlUsername }}"
DJANGO_DATABASE_PORT: "5432"
envValueFrom:
DJANGO_DATABASE_PASSWORD:
secretKeyRef: