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
785 B

apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-empicrs-proxy
labels:
app: nginx-empicrs-proxy
spec:
replicas: 1
selector:
matchLabels:
app: nginx-empicrs-proxy
template:
metadata:
labels:
app: nginx-empicrs-proxy
spec:
containers:
- name: nginx-empicrs-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: empicrs-nginx-configmap
items:
- key: nginx.conf
path: nginx.conf