Browse Source

Fix issue with environment variable values

master
Fábio Kaiser Rauber 3 years ago
parent
commit
bb98904b50
  1. 10
      charts/pdnsadmin/v0.1.0/templates/deployment.yaml

10
charts/pdnsadmin/v0.1.0/templates/deployment.yaml

@ -32,15 +32,15 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
env: env:
- name: SQLALCHEMY_DATABASE_URI - 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 - name: GUNICORN_TIMEOUT
value: {{ .Values.environment.gunicorn.timeout }} value: {{ .Values.environment.gunicorn.timeout | quote }}
- name: GUNICORN_WORKERS - name: GUNICORN_WORKERS
value: {{ .Values.environment.gunicorn.workers }} value: {{ .Values.environment.gunicorn.workers | quote }}
- name: GUNICORN_LOGLEVEL - name: GUNICORN_LOGLEVEL
value: {{ .Values.environment.gunicorn.logLevel }} value: {{ .Values.environment.gunicorn.logLevel | quote }}
- name: OFFLINE_MODE - name: OFFLINE_MODE
value: False value: "False"
ports: ports:
- name: http - name: http
containerPort: 80 containerPort: 80

Loading…
Cancel
Save