sample-service/k8s/deployment.yml
Torma Kristóf 9cfaf5857b
All checks were successful
continuous-integration/drone/push Build is passing
update deps
2021-08-11 16:43:08 +02:00

31 lines
644 B
YAML

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