chore(apps): move envTpl to env (#1578)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user