fixed formatting errors in ingress manifest

This commit is contained in:
Radar231 2021-10-20 05:36:55 -04:00
parent bced220234
commit 2d574c315f
1 changed files with 5 additions and 22 deletions

View File

@ -4,7 +4,7 @@ kind: Ingress
metadata:
name: journal-wiki
annotations:
kubernetes.io/ingress.class: haproxy
kubernetes.io/ingress.class: haproxy
spec:
rules:
- host: journal-wiki.lan
@ -13,26 +13,9 @@ spec:
- path: /
pathType: Prefix
backend:
serviceName: journal-wiki
servicePort: 8080
# EOF
---
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
service:
name: journal-wiki
port:
number: 8080
# EOF