2021-10-19 12:20:06 +00:00
|
|
|
image:
|
2021-12-03 12:45:53 +00:00
|
|
|
repository: tccr.io/truecharts/dsmr-reader
|
2022-07-25 18:36:51 +00:00
|
|
|
tag: v2021.09.02@sha256:1d3b33ea11703b14aa276dab2f2056323cc74a90e5f6c474aa82efc57c90ac9e
|
2021-10-19 12:20:06 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
env:
|
2022-03-06 19:08:58 +00:00
|
|
|
DJANGO_TIME_ZONE: "{{ .Values.TZ }}"
|
2021-12-19 22:53:28 +00:00
|
|
|
DJANGO_DATABASE_ENGINE: "django.db.backends.postgresql"
|
|
|
|
DJANGO_DATABASE_NAME: "{{ .Values.postgresql.postgresqlDatabase }}"
|
|
|
|
DJANGO_DATABASE_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
|
|
DJANGO_DATABASE_PORT: "5432"
|
2021-10-19 12:20:06 +00:00
|
|
|
DJANGO_DATABASE_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: postgresql-password
|
|
|
|
DJANGO_DATABASE_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: plainhost
|
|
|
|
|
2022-06-07 17:41:19 +00:00
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
2021-10-19 12:20:06 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2021-11-28 09:26:31 +00:00
|
|
|
port: 10009
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 80
|
2022-06-17 08:24:54 +00:00
|
|
|
|
2021-11-14 19:19:16 +00:00
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/config"
|
2022-06-17 08:24:54 +00:00
|
|
|
|
2021-10-19 12:20:06 +00:00
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: dsmr-reader
|
|
|
|
postgresqlDatabase: dsmr-reader
|
2022-08-08 21:25:02 +00:00
|
|
|
|
|
|
|
portal:
|
|
|
|
enabled: true
|