storage-service/k8s/deployment.yaml
marcsello b4e6e7260d
All checks were successful
continuous-integration/drone/push Build is passing
Fixed deployment stuff
2020-04-29 22:17:43 +02:00

30 lines
594 B
YAML

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