marcells/node-build-monitor

View on GitHub
charts/build-monitor/templates/service.yaml

Summary

Maintainability
Test Coverage
apiVersion: v1
kind: Service
metadata:
  name: {{ include "build-monitor.fullname" . }}
  labels:
    app.kubernetes.io/name: {{ include "build-monitor.name" . }}
    helm.sh/chart: {{ include "build-monitor.chart" . }}
    app.kubernetes.io/instance: {{ .Release.Name }}
    app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
  type: {{ .Values.service.type }}
  ports:
    - port: {{ .Values.service.port }}
      targetPort: http
      protocol: TCP
      name: http
  selector:
    app.kubernetes.io/name: {{ include "build-monitor.name" . }}
    app.kubernetes.io/instance: {{ .Release.Name }}