storage-service/k8s/deployment.yaml
Pünkösd Marcell b835b63092
All checks were successful
continuous-integration/drone/push Build is passing
Update 'k8s/deployment.yaml'
2020-08-06 15:02:08 +02:00

31 lines
626 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
imagePullPolicy: Always
name: storage-service
envFrom:
- configMapRef:
name: storage-service
ports:
- containerPort: 8000
imagePullSecrets:
- name: regcred