output-service-rdb/k8s/deployment.yml
Torma Kristóf 8db1118e2a
All checks were successful
continuous-integration/drone/push Build is passing
add imagepullsecret
2020-04-13 01:41:52 +02:00

29 lines
637 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: output-service-rdb
namespace: birbnetes
labels:
app: output-service-rdb
spec:
replicas: 1
selector:
matchLabels:
app: output-service-rdb
strategy:
type: Recreate
template:
metadata:
labels:
app: output-service-rdb
spec:
containers:
- image: registry.kmlabz.com/tormakris/output-service-rdb
name: output-service-rdb
envFrom:
- configMapRef:
name: output-service-rdb-config
ports:
- containerPort: 8080
imagePullSecrets:
- name: regcred