J release changes
[ric-plt/ric-dep.git] / helm / e2mgr / templates / ingress-e2mgr.yaml
index 015aff2..9f72cfc 100644 (file)
@@ -1,4 +1,4 @@
-apiVersion: networking.k8s.io/v1beta1
+apiVersion: networking.k8s.io/v1
 kind: Ingress
 metadata:
   name: {{ include "common.ingressname.e2mgr" . }}
@@ -7,6 +7,9 @@ spec:
   - http:
       paths:
       - path: {{ include "common.kongpath.ric.e2mgr" . }}
+        pathType: Prefix
         backend:
-          serviceName: {{ include "common.servicename.e2mgr.http" . }}
-          servicePort: {{ include "common.serviceport.e2mgr.http" . }}
+          service:
+            name: {{ include "common.servicename.e2mgr.http" . }}
+            port:
+              number: {{ include "common.serviceport.e2mgr.http" . }}