2021-10-19 12:20:06 +00:00
|
|
|
image:
|
|
|
|
# -- image repository
|
2021-12-03 12:45:53 +00:00
|
|
|
repository: tccr.io/truecharts/dsmr-reader
|
2021-10-19 12:20:06 +00:00
|
|
|
# -- image tag
|
2021-12-03 12:45:53 +00:00
|
|
|
tag: v2021.09.02@sha256:4858edb1ae63a20639a0ef9c51c7b2cf599686db5c582ead7b37b2a288122935
|
2021-10-19 12:20:06 +00:00
|
|
|
# -- image pull policy
|
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
# -- environment variables. See [image docs](https://github.com/xirixiz/dsmr-reader-docker#dsmr-reader---environment-variables) for more details.
|
|
|
|
# @default -- See below
|
|
|
|
env:
|
|
|
|
# -- Set the container timezone
|
|
|
|
TZ: UTC
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
|
|
|
|
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:
|
|
|
|
name: dbcreds
|
|
|
|
key: postgresql-password
|
|
|
|
DJANGO_DATABASE_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: plainhost
|
|
|
|
|
|
|
|
# -- Configures service settings for the chart.
|
|
|
|
# @default -- See values.yaml
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2021-11-28 09:26:31 +00:00
|
|
|
port: 10009
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 80
|
2021-11-14 19:19:16 +00:00
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/config"
|
2021-10-19 12:20:06 +00:00
|
|
|
# -- Enable and configure postgresql database subchart under this key.
|
|
|
|
# @default -- See values.yaml
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: dsmr-reader
|
|
|
|
postgresqlDatabase: dsmr-reader
|