# helm_source_svc.yaml
# This is a service gateway to the replica set created by the deployment.
# Take a look at the deployment.yaml for general notes about this chart.
apiVersion: v1
kind: Service
metadata:
  name: "{{ .Values.name }}"
  labels:
    app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
    app.kubernetes.io/instance: {{ .Release.Name | quote }}
    helm.sh/chart: "{{.Chart.Name}}-{{.Chart.Version}}"
    kubeVersion: {{ .Capabilities.KubeVersion.Major }}
spec:
  ports:
  - port: {{default 80 .Values.httpPort | quote}}
    targetPort: 80
    protocol: TCP
    name: http
  selector:
    app.kubernetes.io/name: {{template "fullname" .}}