aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/vnfsdk/templates/service.yaml
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2023-02-27 10:31:01 +0100
committerAndreas Geissler <andreas-geissler@telekom.de>2023-02-28 20:30:10 +0100
commit7479042d780f5c9281c67d141ac61ca0c0c76529 (patch)
tree6a39f8bad99b53a4339649ed09df01584df3b14c /kubernetes/vnfsdk/templates/service.yaml
parenta7eeecb520f5046e490fa3f4cd6bfc52265f9799 (diff)
[VNFSDK] Make VNFSDK ServiceMesh ready
Disable TLS interface, add job sidecar cleanup and cleanup charts Fix the deployment.yaml Issue-ID: OOM-3095 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I88a9b01ecf5e4cbb247346b6b2da1c521199a2fb
Diffstat (limited to 'kubernetes/vnfsdk/templates/service.yaml')
-rw-r--r--kubernetes/vnfsdk/templates/service.yaml26
1 files changed, 2 insertions, 24 deletions
diff --git a/kubernetes/vnfsdk/templates/service.yaml b/kubernetes/vnfsdk/templates/service.yaml
index 25786bd7ad..6127b2b373 100644
--- a/kubernetes/vnfsdk/templates/service.yaml
+++ b/kubernetes/vnfsdk/templates/service.yaml
@@ -1,5 +1,6 @@
{{/*
# Copyright © 2017 Amdocs, Bell Canada
+# Modification © 2023 Deutsche Telekom
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -14,27 +15,4 @@
# 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.internalPort }}
- nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
- {{- else -}}
- - port: {{ .Values.service.externalPort }}
- targetPort: {{ .Values.service.internalPort }}
- {{- end}}
- name: {{ .Values.service.portName | default "http" }}
- selector:
- app: {{ include "common.name" . }}
- release: {{ include "common.release" . }}
+{{ include "common.service" . }} \ No newline at end of file