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:
@@ -149,21 +149,31 @@ spec:
|
||||
app: hassio
|
||||
release: latest
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1beta1
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: hassio
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: nginx
|
||||
spec:
|
||||
rules:
|
||||
- host: hassio.lan
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
serviceName: hassio
|
||||
servicePort: http
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: hassio
|
||||
port:
|
||||
name: http
|
||||
- host: hassio-conf.lan
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
serviceName: hassio-conf
|
||||
servicePort: adm
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: hassio-conf
|
||||
port:
|
||||
name: adm
|
||||
|
||||
Reference in New Issue
Block a user