35 lines
801 B
YAML
35 lines
801 B
YAML
---
|
|
{{ $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"
|