Update ingress in k8s manifests

This commit is contained in:
2023-03-30 12:46:28 -04:00
parent 9b0710b9d8
commit 75e1d7bc86
5 changed files with 30 additions and 15 deletions

View File

@@ -44,7 +44,7 @@ spec:
type: ClusterIP
---
kind: Ingress
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
metadata:
name: hub
namespace: home-monitor
@@ -60,6 +60,9 @@ spec:
- http:
paths:
- path: "/api/hub"
pathType: ImplementationSpecific
backend:
serviceName: hub-service
servicePort: 80
service:
name: hub-service
port:
number: 80