apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: queueworker
namespace: {{ .Release.Namespace }}
spec:
replicas: 2
template:
labels:
app: queueworker
containers:
- name: app
imagePullPolicy: {{.Values.queueworker.imagePullPolicy}}
image: {{.Values.queueworker.container}}:{{.Values.queueworker.version}}
envFrom:
- configMapRef:
name: env-api
{{ if .Values.dockerHub.enabled }}
imagePullSecrets:
- name: {{.Values.dockerHub.secret}}
{{ end }}