From bb98904b5038cc3ae18294804e5ad11cae1c7438 Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Fri, 5 Nov 2021 16:58:36 -0300 Subject: [PATCH] Fix issue with environment variable values --- charts/pdnsadmin/v0.1.0/templates/deployment.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/pdnsadmin/v0.1.0/templates/deployment.yaml b/charts/pdnsadmin/v0.1.0/templates/deployment.yaml index 92ba273..b25e389 100644 --- a/charts/pdnsadmin/v0.1.0/templates/deployment.yaml +++ b/charts/pdnsadmin/v0.1.0/templates/deployment.yaml @@ -32,15 +32,15 @@ spec: imagePullPolicy: {{ .Values.image.pullPolicy }} env: - name: SQLALCHEMY_DATABASE_URI - value: mysql://{{ .Values.mariadb.auth.username }}:{{ .Values.mariadb.auth.password }}@{{ .Release.Name }}-mariadb/{{ .Values.mariadb.auth.database }} + value: "mysql://{{ .Values.mariadb.auth.username }}:{{ .Values.mariadb.auth.password }}@{{ .Release.Name }}-mariadb/{{ .Values.mariadb.auth.database }}" - name: GUNICORN_TIMEOUT - value: {{ .Values.environment.gunicorn.timeout }} + value: {{ .Values.environment.gunicorn.timeout | quote }} - name: GUNICORN_WORKERS - value: {{ .Values.environment.gunicorn.workers }} + value: {{ .Values.environment.gunicorn.workers | quote }} - name: GUNICORN_LOGLEVEL - value: {{ .Values.environment.gunicorn.logLevel }} + value: {{ .Values.environment.gunicorn.logLevel | quote }} - name: OFFLINE_MODE - value: False + value: "False" ports: - name: http containerPort: 80