Fixed ingress yaml indentation

This commit is contained in:
Sumit Ghosh 2021-11-11 15:21:54 +05:30
parent 144e7a2e0c
commit ce2bcf623a

View File

@ -11,15 +11,16 @@ metadata:
namespace: default
spec:
rules:
http:
paths:
- path: /webmvc
pathType: Prefix
backend:
service:
name: webmvc
port:
number: 80
- host: localhost
http:
paths:
- path: /webmvc
pathType: Prefix
backend:
service:
name: webmvc
port:
number: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
@ -34,12 +35,13 @@ metadata:
namespace: default
spec:
rules:
http:
paths:
- path: /identity
pathType: Prefix
backend:
service:
name: identity
port:
number: 80
- host: localhost
http:
paths:
- path: /identity
pathType: Prefix
backend:
service:
name: identity
port:
number: 80