This commit is contained in:
2025-01-19 17:49:36 +01:00
parent 85b2fa0e0e
commit fa990719d3
4 changed files with 108 additions and 0 deletions

27
proxy.yaml Normal file
View File

@@ -0,0 +1,27 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: edge-proxy
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