You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
791 B
34 lines
791 B
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nginx-empiread-proxy
|
|
labels:
|
|
app: nginx-empiread-proxy
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: nginx-empiread-proxy
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: nginx-empiread-proxy
|
|
spec:
|
|
containers:
|
|
- name: nginx-empiread-proxy
|
|
image: registry.cloudsolutions.com.sa/vida-prod/nginx:latest
|
|
ports:
|
|
- containerPort: 80
|
|
volumeMounts:
|
|
- name: nginx-config
|
|
mountPath: /etc/nginx/nginx.conf
|
|
subPath: nginx.conf
|
|
imagePullSecrets:
|
|
- name: regcred
|
|
volumes:
|
|
- name: nginx-config
|
|
configMap:
|
|
name: empiread-nginx-configmap
|
|
items:
|
|
- key: nginx.conf
|
|
path: nginx.conf |