aboutsummaryrefslogtreecommitdiffstats
path: root/templates/service.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-12-09 08:20:25 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-12-09 08:22:17 +0100
commit1ba8bf7a96b1178e82bb5f51d23f4e32837be9ed (patch)
tree5eb73f6f70e552f0823a57374f670dc7468f7428 /templates/service.yaml
parent85b5af5058bbda19b557add185d917f60c2188ee (diff)
Remove code on master branch
As code has been moved to main repo, we remove the code here and add a README explaining Issue-ID: OOM-2513 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I80693e7f5c6c18bece7088eb29e2d17566f3993f
Diffstat (limited to 'templates/service.yaml')
-rw-r--r--templates/service.yaml39
1 files changed, 0 insertions, 39 deletions
diff --git a/templates/service.yaml b/templates/service.yaml
deleted file mode 100644
index d1e3bec..0000000
--- a/templates/service.yaml
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright © 2017 Amdocs, Bell Canada
-#
-# 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.
-
-apiVersion: v1
-kind: Service
-metadata:
- name: {{ include "common.servicename" . }}
- namespace: {{ include "common.namespace" . }}
- labels:
- app: {{ include "common.name" . }}
- chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
- release: {{ include "common.release" . }}
- heritage: {{ .Release.Service }}
-spec:
- type: {{ .Values.service.type }}
- ports:
- {{if eq .Values.service.type "NodePort" -}}
- - port: {{ .Values.service.externalPort }}
- nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
- name: {{ .Values.service.portName | default "http" }}
- {{- else -}}
- - port: {{ .Values.service.externalPort }}
- targetPort: {{ .Values.service.internalPort }}
- name: {{ .Values.service.portName | default "http" }}
- {{- end}}
- selector:
- app: {{ include "common.name" . }}
- release: {{ include "common.release" . }}