Merge R3 into master
[it/dep.git] / ric-aux / helm / infrastructure / subcharts / extsvcaux / templates / services-plt.yaml
 #   See the License for the specific language governing permissions and        #
 #   limitations under the License.                                             #
 ################################################################################
-
+---
 kind: "Service"
 apiVersion: "v1"
 metadata:
-  name: {{ include "common.ingressurl.ric" . }}
+  name: {{ include "common.ingresscontroller.url.platform" . }}
   namespace: {{ include "common.namespace.aux" . }}
 spec:
   ports:
-    - name: {{ include "common.ingressurl.ric" . }}-http-ingress-port
+    - name: {{ include "common.ingresscontroller.url.platform" . }}-http-ingress-port
       protocol: "TCP"
       port: 80
-    - name: {{ include "common.ingressurl.ric" . }}-https-ingress-port
+    - name: {{ include "common.ingresscontroller.url.platform" . }}-https-ingress-port
       protocol: "TCP"
       port: 443
 ---
@@ -33,13 +33,13 @@ kind: "Endpoints"
 apiVersion: "v1"
 metadata:
   # match with the selector-less service
-  name: {{ include "common.ingressurl.ric" . }}
+  name: {{ include "common.ingresscontroller.url.platform" . }}
   namespace: {{ include "common.namespace.aux" . }}
 subsets: 
   - addresses:
-      - ip: "{{ .Values.extsvcaux.ricip }}"
+      - ip: "{{ .Values.ricip }}"
     ports:
-      - port: {{ include "common.ingresshttpport" . }}
-        name: {{ include "common.ingressurl.ric" . }}-http-ingress-port
-      - port: {{ include "common.ingresshttpsport" . }}
-        name: {{ include "common.ingressurl.ric" . }}-https-ingress-port
+      - port: {{ include "common.ingresscontroller.port.http" . }}
+        name: {{ include "common.ingresscontroller.url.platform" $ }}-http-ingress-port
+      - port: {{ include "common.ingresscontroller.port.https" $ }}
+        name: {{ include "common.ingresscontroller.url.platform" $ }}-https-ingress-port