28 lines
580 B
YAML
28 lines
580 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/birbnetes/guard-service
|
|
imagePullPolicy: Always
|
|
envFrom:
|
|
- configMapRef:
|
|
name: guard-service
|
|
imagePullSecrets:
|
|
- name: regcred |