add fileprocessor
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
---
|
||||
{{ $name := printf "%s-file-processor" (.Chart.Name) }}
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ $name }}
|
||||
labels:
|
||||
app: file-processor
|
||||
spec:
|
||||
minReadySeconds: 5
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
maxUnavailable: 1
|
||||
replicas: {{ .Values.app.file_processor.replicas }}
|
||||
selector:
|
||||
matchLabels:
|
||||
service: {{ $name }}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
service: {{ $name }}
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: regsecret
|
||||
containers:
|
||||
- name: file-processor
|
||||
image: {{ .Values.app.file_processor.image }}
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
{{- include "envs_all" . | indent 12 }}
|
||||
- name: VIDEO_CONVERTER_ENABLED
|
||||
value: "false"
|
||||
@@ -183,6 +183,13 @@ app:
|
||||
# Если указано, будет смонтирован в /ca-cert
|
||||
secretName: ""
|
||||
|
||||
# File Processor - обработка файлов (конвертация, ресайз изображений)
|
||||
file_processor:
|
||||
# Docker образ file processor
|
||||
image: "cr.yandex/crphnph9c2s776j32sjd/hrbox-file-processor:1.0"
|
||||
# Количество реплик
|
||||
replicas: 1
|
||||
|
||||
# Document Converter - конвертер документов (PDF, DOCX и др.)
|
||||
document_converter:
|
||||
# Docker образ document converter
|
||||
|
||||
Reference in New Issue
Block a user