30 lines
621 B
YAML
30 lines
621 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: edge-proxy
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "100"
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: edge-proxy
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: edge-proxy
|
|
spec:
|
|
containers:
|
|
- name: nginx
|
|
image: nginx:stable-alpine
|
|
volumeMounts:
|
|
- name: config-volume
|
|
mountPath: /etc/nginx/nginx.conf
|
|
subPath: nginx.conf
|
|
ports:
|
|
- containerPort: 80
|
|
volumes:
|
|
- name: config
|
|
configMap:
|
|
name: proxy-config
|