hanyadikhetvan-deploy/deployment.yaml

31 lines
627 B
YAML
Raw Normal View History

2021-02-09 18:39:35 +01:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: hanyadikhetvan
namespace: hanyadikhetvan
labels:
app: hanyadikhetvan
spec:
replicas: 1
selector:
matchLabels:
app: hanyadikhetvan
strategy:
type: Recreate
template:
metadata:
labels:
app: hanyadikhetvan
spec:
containers:
- name: dotnetapp
image: registry.kmlabz.com/tormakris/hanyadikhetvan:18
imagePullPolicy: Always
ports:
- containerPort: 80
envFrom:
- configMapRef:
name: hanyadikhetvan-config
imagePullSecrets:
- name: regcred