migrated Ingresses to nginx 1.0.0

https://blog.hycorve.com/migrating-from-ingress-networking-k8s-io-v1beta1-to-v1/
This commit is contained in:
2021-09-21 18:53:33 +02:00
parent 90e89bf867
commit 82adc0d6ae
16 changed files with 1067 additions and 151 deletions

View File

@@ -73,20 +73,26 @@ spec:
selector:
app: piwigo
---
apiVersion: networking.k8s.io/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: piwigo
labels:
app: piwigo
annotations:
kubernetes.io/ingress.class: nginx
spec:
rules:
- host: foto.lan
http:
paths:
- backend:
serviceName: piwigo
servicePort: http
- path: /
pathType: Prefix
backend:
service:
name: piwigo
port:
name: http
---
apiVersion: batch/v1beta1
kind: CronJob