Fixed remaining ingress manifest

This commit is contained in:
Sumit Ghosh 2021-07-20 16:41:59 +05:30
parent 5fcf632df7
commit 40c19829fc

View File

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