未验证 提交 b8552faa 编写于 作者: A Andrey Zhavoronkov 提交者: GitHub

Add imagePullPolicy into Helm chart (#5313)

Co-authored-by: Ndalli <skcha67@gmail.com>
上级 7383c17c
......@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.4.3
version: 0.4.4
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
......
......@@ -46,6 +46,7 @@ spec:
containers:
- name: cvat-app-backend-utils-container
image: {{ .Values.cvat.backend.image }}:{{ .Values.cvat.backend.tag }}
imagePullPolicy: {{ .Values.cvat.backend.imagepullpolicy }}
{{- with .Values.cvat.backend.utils.resources }}
resources:
{{- toYaml . | nindent 12 }}
......
......@@ -33,6 +33,7 @@ spec:
containers:
- name: cvat-frontend-app-container
image: {{ .Values.cvat.frontend.image }}:{{ .Values.cvat.frontend.tag }}
imagePullPolicy: {{ .Values.cvat.frontend.imagepullpolicy }}
{{- with .Values.cvat.frontend.resources }}
resources:
{{- toYaml . | nindent 12 }}
......@@ -62,4 +63,4 @@ spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
\ No newline at end of file
{{- end }}
......@@ -33,6 +33,7 @@ spec:
containers:
- name: cvat-opa-app-container
image: {{ .Values.cvat.opa.image }}:{{ .Values.cvat.opa.tag }}
imagePullPolicy: {{ .Values.cvat.opa.imagepullpolicy }}
args:
- run
- --server
......
......@@ -75,6 +75,7 @@ cvat:
replicas: 1
image: cvat/server
tag: dev
imagepullploicy: IfNotPresent
permissionFix:
enabled: true
service:
......@@ -94,6 +95,7 @@ cvat:
replicas: 1
image: cvat/ui
tag: dev
imagepullploicy: IfNotPresent
labels: {}
# test: test
annotations: {}
......@@ -136,6 +138,7 @@ cvat:
replicas: 1
image: openpolicyagent/opa
tag: 0.34.2-rootless
imagepullploicy: IfNotPresent
labels: {}
# test: test
annotations: {}
......
......@@ -64,7 +64,7 @@ numprocs=1
; apps are dynamically loaded by an environment variable. It can lead to issues
; with docker cache. Thus it is necessary to run collectstatic here for such
; apps.
command=%(ENV_HOME)s/wait-for-it.sh %(ENV_CVAT_POSTGRES_HOST)s:5432 -t 0 -- bash -ic \
command=%(ENV_HOME)s/wait-for-it.sh %(ENV_CVAT_POSTGRES_HOST)s:%(ENV_CVAT_POSTGRES_PORT)% -t 0 -- bash -ic \
"rm -f /tmp/cvat-server/httpd.pid && python3 ~/manage.py migrate && \
python3 ~/manage.py collectstatic --no-input && \
exec python3 $HOME/manage.py runmodwsgi --log-to-terminal --port 8080 \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册