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=1701e53e7da9951c6882f8dcc7cd7d3a623afb58;hb=refs%2Fchanges%2F34%2F1234%2F9;hp=34769ea0621e6159b8145d56efb938da20d4b611;hpb=2df61c2fcf64b32ecf7f064ef9cbbe6b54a15bc0;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 34769ea0..1701e53e 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 @@ -1,41 +1,41 @@ -################################################################################ -# Copyright (c) 2019 AT&T Intellectual Property. # -# Copyright (c) 2019 Nokia. # -# # -# Licensed under the Apache License, Version 2.0 (the "License"); # -# you may not use this file except in compliance with the License. # -# You may obtain a copy of the License at # -# # -# http://www.apache.org/licenses/LICENSE-2.0 # -# # -# Unless required by applicable law or agreed to in writing, software # -# distributed under the License is distributed on an "AS IS" BASIS, # -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # -# See the License for the specific language governing permissions and # -# limitations under the License. # -################################################################################ - - -kind: Service -apiVersion: v1 -metadata: - name: {{ include "common.servicename.ves.http" . }} - labels: - app: {{ include "common.namespace.aux" . }}-{{ include "common.name.ves" . }} - chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} -spec: - ports: - - name: http - protocol: TCP - port: {{ include "common.serviceport.ves.http" . }} - targetPort: {{ include "common.serviceport.ves.http" . }} - - name: https - protocol: TCP - port: {{ include "common.serviceport.ves.https" . }} - targetPort: {{ include "common.serviceport.ves.https" . }} - selector: - app: {{ include "common.namespace.aux" . }}-{{ include "common.name.ves" . }} - release: {{ .Release.Name }} - type: ClusterIP +################################################################################ +# Copyright (c) 2019 AT&T Intellectual Property. # +# Copyright (c) 2019 Nokia. # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); # +# you may not use this file except in compliance with the License. # +# You may obtain a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +################################################################################ + + +kind: Service +apiVersion: v1 +metadata: + name: {{ include "common.servicename.ves.http" . }} + labels: + app: {{ include "common.namespace.aux" . }}-{{ include "common.name.ves" . }} + chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} +spec: + ports: + - name: http + protocol: TCP + port: {{ include "common.serviceport.ves.http" . }} + targetPort: {{ include "common.serviceport.ves.http" . }} + - name: https + protocol: TCP + port: {{ include "common.serviceport.ves.https" . }} + targetPort: {{ include "common.serviceport.ves.https" . }} + selector: + app: {{ include "common.namespace.aux" . }}-{{ include "common.name.ves" . }} + release: {{ .Release.Name }} + type: ClusterIP