storage-service/k8s/deployment.yaml
Torma Kristóf 293fcfcc97
Some checks reported errors
continuous-integration/drone/push Build encountered an error
fix deployment
2020-04-13 01:01:53 +02:00

29 lines
593 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/tormakris/storage-service
name: storage-service
envFrom:
- configMapRef:
name: storage-service
ports:
- containerPort: 8000
imagePullSecrets:
- name: regcred