Files
ingress/proxy.yaml
2025-01-19 17:56:06 +01:00

31 lines
645 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: edge-proxy
namespace: 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