fixed formatting errors in ingress manifest
This commit is contained in:
parent
bced220234
commit
2d574c315f
|
@ -4,7 +4,7 @@ kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: journal-wiki
|
name: journal-wiki
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: haproxy
|
kubernetes.io/ingress.class: haproxy
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: journal-wiki.lan
|
- host: journal-wiki.lan
|
||||||
|
@ -13,26 +13,9 @@ spec:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
serviceName: journal-wiki
|
service:
|
||||||
servicePort: 8080
|
name: journal-wiki
|
||||||
|
port:
|
||||||
# EOF
|
number: 8080
|
||||||
---
|
|
||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: website-wiki
|
|
||||||
annotations:
|
|
||||||
kubernetes.io/ingress.class: haproxy
|
|
||||||
spec:
|
|
||||||
rules:
|
|
||||||
- host: website-wiki.lan
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: Prefix
|
|
||||||
backend:
|
|
||||||
serviceName: website-wiki
|
|
||||||
servicePort: 8080
|
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
|
|
Loading…
Reference in New Issue