dictyBase/modware-order

View on GitHub
deployments/charts/order-api-server/templates/service.yaml

Summary

Maintainability
Test Coverage
apiVersion: v1
kind: Service
metadata:
  name: {{ .Values.service.name | quote }}
  labels:
    app: {{ template "order-api.fullname" . }}
    chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
spec:
  type: {{ .Values.service.type }}
  ports:
  - name: {{ .Values.service.name | quote }}  
    port: {{ .Values.service.port  }}
    targetPort: {{ .Values.service.name | quote }}   
  selector:
    app: {{ template "order-api.fullname" . }}