31 lines
627 B
YAML
31 lines
627 B
YAML
|
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
|