49 lines
1.0 KiB
YAML
49 lines
1.0 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/dsmr-reader
|
|
tag: v2021.09.02@sha256:1d3b33ea11703b14aa276dab2f2056323cc74a90e5f6c474aa82efc57c90ac9e
|
|
pullPolicy: IfNotPresent
|
|
|
|
env:
|
|
DJANGO_TIME_ZONE: "{{ .Values.TZ }}"
|
|
DJANGO_DATABASE_ENGINE: "django.db.backends.postgresql"
|
|
DJANGO_DATABASE_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
DJANGO_DATABASE_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
DJANGO_DATABASE_PORT: "5432"
|
|
DJANGO_DATABASE_PASSWORD:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: postgresql-password
|
|
DJANGO_DATABASE_HOST:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: plainhost
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: false
|
|
|
|
podSecurityContext:
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10009
|
|
targetPort: 80
|
|
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
mountPath: "/config"
|
|
|
|
postgresql:
|
|
enabled: true
|
|
existingSecret: "dbcreds"
|
|
postgresqlUsername: dsmr-reader
|
|
postgresqlDatabase: dsmr-reader
|
|
|
|
portal:
|
|
enabled: true
|