Skip to content
Snippets Groups Projects
Unverified Commit 2b163cd1 authored by Daniel Ecer's avatar Daniel Ecer Committed by GitHub
Browse files

[wip] make autocut.modelPath optional (#4)

* make autocut.modelPath optional

* moved AUTOCUT_MODEL_PATH down
parent 33309b9c
No related branches found
No related tags found
No related merge requests found
...@@ -25,10 +25,12 @@ spec: ...@@ -25,10 +25,12 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
command: ['start-autocut.sh'] command: ['start-autocut.sh']
env: env:
- name: AUTOCUT_MODEL_PATH
value: "{{ .Values.autocut.modelPath }}"
- name: GUNICORN_WORKERS - name: GUNICORN_WORKERS
value: "{{ .Values.autocut.workers }}" value: "{{ .Values.autocut.workers }}"
{{ if .Values.autocut.modelPath }}
- name: AUTOCUT_MODEL_PATH
value: "{{ .Values.autocut.modelPath }}"
{{ end }}
ports: ports:
- name: http - name: http
containerPort: 8080 containerPort: 8080
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment