Browse Source

Fixed ingress yaml indentation

pull/1786/head
Sumit Ghosh 3 years ago
parent
commit
ce2bcf623a
1 changed files with 20 additions and 18 deletions
  1. +20
    -18
      deploy/k8s/nginx-ingress/local-dockerk8s/mvc-fix.yaml

+ 20
- 18
deploy/k8s/nginx-ingress/local-dockerk8s/mvc-fix.yaml 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

Loading…
Cancel
Save