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"
|
||||
Reference in New Issue
Block a user