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: 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