23 lines
602 B
YAML
23 lines
602 B
YAML
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: queueworker
|
|
namespace: {{ .Release.Namespace }}
|
|
spec:
|
|
replicas: 2
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: queueworker
|
|
spec:
|
|
containers:
|
|
- name: app
|
|
imagePullPolicy: {{.Values.queueworker.imagePullPolicy}}
|
|
image: docker.keks.cloud/keksaccount/app:{{.Values.queueworker.version}}
|
|
envFrom:
|
|
- configMapRef:
|
|
name: env-api
|
|
{{ if .Values.dockerHub.enabled }}
|
|
imagePullSecrets:
|
|
- name: {{.Values.dockerHub.secret}}
|
|
{{ end }}
|