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