X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=ric-platform%2F55-Ext-Services%2Fhelm%2Fext%2Ftemplates%2Fservices.yaml;h=ec524c17c86b303a3663f487cfda86212459a050;hb=948cb92657906b0c6ede9e1f82a56b95521fe0b4;hp=fc6029a9328f940458aaa7edefc545d4c46b2816;hpb=d32ff1f486548b1a6123761055c2757c5762904f;p=it%2Fdep.git diff --git a/ric-platform/55-Ext-Services/helm/ext/templates/services.yaml b/ric-platform/55-Ext-Services/helm/ext/templates/services.yaml index fc6029a9..ec524c17 100644 --- a/ric-platform/55-Ext-Services/helm/ext/templates/services.yaml +++ b/ric-platform/55-Ext-Services/helm/ext/templates/services.yaml @@ -42,4 +42,33 @@ subsets: - port: {{ include "common.ingresshttpport.ricaux" . }} name: {{ include "common.ingressurl.ricaux" . }}-http-ingress-port - port: {{ include "common.ingresshttpport.ricaux" . }} - name: {{ include "common.ingressurl.ricaux" . }}-https-ingress-port \ No newline at end of file + name: {{ include "common.ingressurl.ricaux" . }}-https-ingress-port +--- +kind: "Service" +apiVersion: "v1" +metadata: + name: {{ include "common.ingressurl.ricinfra" . }} + namespace: {{ include "common.namespace" . }} +spec: + ports: + - name: {{ include "common.ingressurl.ricinfra" . }}-http-ingress-port + protocol: "TCP" + port: 80 + - name: {{ include "common.ingressurl.ricinfra" . }}-https-ingress-port + protocol: "TCP" + port: 443 +--- +kind: "Endpoints" +apiVersion: "v1" +metadata: + # match with the selector-less service + name: {{ include "common.ingressurl.ricinfra" . }} + namespace: {{ include "common.namespace" . }} +subsets: + - addresses: + - ip: "{{ .Values.ext.ip }}" + ports: + - port: {{ include "common.ingresshttpport.ricinfra" . }} + name: {{ include "common.ingressurl.ricinfra" . }}-http-ingress-port + - port: {{ include "common.ingresshttpport.ricinfra" . }} + name: {{ include "common.ingressurl.ricinfra" . }}-https-ingress-port