updated README
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user