guard-service/k8s/deployment.yaml

27 lines
549 B
YAML

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