cnc-service/k8s/deployment.yaml
Torma Kristóf e17cff4d07
All checks were successful
continuous-integration/drone/push Build is passing
create project structure
2020-07-17 16:31:49 +02:00

29 lines
588 B
YAML

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