X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-aux%2F80-Auxiliary-Functions%2Fhelm%2Fves%2Ftemplates%2Fves-service.yaml;h=34769ea0621e6159b8145d56efb938da20d4b611;hb=cf28a83dfa8e7803391c76347f24081bbf91b63b;hp=cc66510faf6678ec1e218be92c963e48f8475446;hpb=debb34e08e99f3bf5c0348bb1d9731bee7e204aa;p=it%2Fdep.git diff --git a/ric-aux/80-Auxiliary-Functions/helm/ves/templates/ves-service.yaml b/ric-aux/80-Auxiliary-Functions/helm/ves/templates/ves-service.yaml index cc66510f..34769ea0 100644 --- a/ric-aux/80-Auxiliary-Functions/helm/ves/templates/ves-service.yaml +++ b/ric-aux/80-Auxiliary-Functions/helm/ves/templates/ves-service.yaml @@ -19,29 +19,23 @@ kind: Service apiVersion: v1 metadata: - name: xdcae-ves-collector + name: {{ include "common.servicename.ves.http" . }} labels: - app: dcae-ves-collector - cfydeployment: ves - cfynode: ves - cfynodeinstance: ves_uj48fg - k8sdeployment: dep-dcae-ves-collector + app: {{ include "common.namespace.aux" . }}-{{ include "common.name.ves" . }} + chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} spec: ports: - - name: xport-t-8080 + - name: http protocol: TCP - port: {{ include "common.serviceport.ves.http.container" . }} - targetPort: {{ include "common.serviceport.ves.http.container" . }} - nodePort: {{ include "common.serviceport.ves.http" . }} - - name: xport-t-8443 + port: {{ include "common.serviceport.ves.http" . }} + targetPort: {{ include "common.serviceport.ves.http" . }} + - name: https protocol: TCP - port: {{ include "common.serviceport.ves.https.container" . }} - targetPort: {{ include "common.serviceport.ves.https.container" . }} - nodePort: {{ include "common.serviceport.ves.https" . }} + port: {{ include "common.serviceport.ves.https" . }} + targetPort: {{ include "common.serviceport.ves.https" . }} selector: - app: dcae-ves-collector - type: NodePort - sessionAffinity: None - externalTrafficPolicy: Cluster -status: - loadBalancer: {} + app: {{ include "common.namespace.aux" . }}-{{ include "common.name.ves" . }} + release: {{ .Release.Name }} + type: ClusterIP