# Copyright © 2018 Amdocs, AT&T
# Modifications Copyright © 2018 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: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
spec:
  type: {{ .Values.service.type }}
  ports:
  {{ if .Values.global.installSidecarSecurity }}
      {{if eq .Values.service.type "NodePort" -}}
      - port: {{ .Values.service.internalPort }}
        nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }}
        targetPort: {{ .Values.global.rproxy.port }}
        name: {{ .Values.service.portName }}
      {{- else -}}
      - port: {{ .Values.service.externalPort }}
        targetPort: {{ .Values.global.rproxy.port }}
        name: {{ .Values.service.portName }}
      {{- end}}
  {{ else }}
    {{if eq .Values.service.type "NodePort" -}}
    - port: {{ .Values.service.internalPort}}
      nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort}}
      name: {{ .Values.service.portName }}
    {{- else -}}
    - port: {{ .Values.service.externalPort }}
      targetPort: {{ .Values.service.internalPort }}
      name: {{ .Values.service.portName }}
    {{- end}}
  {{ end }}
  selector:
    app: {{ include "common.name" . }}
    release: {{ .Release.Name }}
