26 lines
546 B
YAML
26 lines
546 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: external-router-proxy
|
|
namespace: external
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: router-proxy
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: router-proxy
|
|
spec:
|
|
containers:
|
|
- name: nginx
|
|
image: nginx:alpine
|
|
volumeMounts:
|
|
- name: nginx-config
|
|
mountPath: /etc/nginx/conf.d
|
|
volumes:
|
|
- name: nginx-config
|
|
configMap:
|
|
name: nginx-router-config
|