updated README

This commit is contained in:
2025-05-11 20:43:36 +03:00
parent a6df84d495
commit 1b8923afb1
4 changed files with 377 additions and 35 deletions

View File

@ -14,18 +14,18 @@ spec:
app: proxmox-proxy
spec:
containers:
- name: nginx
image: nginx:alpine
ports:
- containerPort: 80
volumeMounts:
- name: nginx-config
mountPath: /etc/nginx/nginx.conf
subPath: nginx.conf
- name: nginx
image: nginx:alpine
ports:
- containerPort: 80
volumeMounts:
- name: nginx-config
mountPath: /etc/nginx/nginx.conf
subPath: nginx.conf
volumes:
- name: nginx-config
configMap:
name: proxmox-proxy-config
- name: nginx-config
configMap:
name: proxmox-proxy-config
---
apiVersion: v1
kind: Service
@ -36,8 +36,8 @@ spec:
selector:
app: proxmox-proxy
ports:
- port: 80
targetPort: 80
- port: 80
targetPort: 80
---
apiVersion: v1
kind: ConfigMap
@ -61,7 +61,7 @@ data:
}
}
---
apiVersion: traefik.containo.us/v1alpha1
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: proxmox-route
@ -70,10 +70,10 @@ spec:
entryPoints:
- websecure
routes:
- match: Host(`${PROXMOX_HOST}`)
kind: Rule
services:
- name: proxmox-proxy
port: 80
- match: Host(`${PROXMOX_HOST}`)
kind: Rule
services:
- name: proxmox-proxy
port: 80
tls:
secretName: wildcard-cert-secret
secretName: wildcard-cert-secret