X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=helm%2Fsubmgr%2Ftemplates%2Fservice-http.yaml;fp=helm%2Fsubmgr%2Ftemplates%2Fservice-http.yaml;h=ed2d790fb84c2b9c42a187046270b5ca6b035a9f;hb=38dc857062b14145f5b9db89d10eba0ae5b90d11;hp=0000000000000000000000000000000000000000;hpb=0c9bc21e8efc4c7205a46ef1456d1f08e65c56f2;p=ric-plt%2Fric-dep.git diff --git a/helm/submgr/templates/service-http.yaml b/helm/submgr/templates/service-http.yaml new file mode 100644 index 0000000..ed2d790 --- /dev/null +++ b/helm/submgr/templates/service-http.yaml @@ -0,0 +1,42 @@ +# +#================================================================================== +# 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. +#================================================================================== +# +# +# Abstract: Subscription Manager service manifest +# Date: 28 May 2019 +# +kind: Service +apiVersion: v1 +metadata: + name: {{ include "common.servicename.submgr.http" . }} + namespace: {{ include "common.namespace.platform" . }} + labels: + app: {{ include "common.namespace.platform" . }}-{{ include "common.name.submgr" . }} + chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} +spec: + selector: + app: {{ include "common.namespace.platform" . }}-{{ include "common.name.submgr" . }} + release: {{ .Release.Name }} + clusterIP: None + ports: + - name: http + port: {{ include "common.serviceport.submgr.http" . }} + protocol: TCP + targetPort: http \ No newline at end of file