From 7479042d780f5c9281c67d141ac61ca0c0c76529 Mon Sep 17 00:00:00 2001 From: Andreas Geissler Date: Mon, 27 Feb 2023 10:31:01 +0100 Subject: [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 Change-Id: I88a9b01ecf5e4cbb247346b6b2da1c521199a2fb --- kubernetes/vnfsdk/templates/service.yaml | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) (limited to 'kubernetes/vnfsdk/templates/service.yaml') 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 -- cgit 1.2.3-korg