github.com/replicatedhq/ship@v0.55.0/integration/failing/init/jaeger-helm/expected/.ship/upstream/templates/hotrod-svc.yaml (about)

     1  {{- if .Values.hotrod.enabled -}}
     2  apiVersion: v1
     3  kind: Service
     4  metadata:
     5    name: {{ template "jaeger.fullname" . }}-hotrod
     6    labels:
     7      app: {{ template "jaeger.name" . }}
     8      jaeger-infra: hotrod-service
     9      chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
    10      component: hotrod
    11      release: {{ .Release.Name }}
    12      heritage: {{ .Release.Service }}
    13  {{- if .Values.hotrod.service.annotations }}
    14    annotations:
    15  {{ toYaml .Values.hotrod.service.annotations | indent 4 }}
    16  {{- end }}
    17  spec:
    18    type: {{ .Values.hotrod.service.type }}
    19    ports:
    20      - name: {{ .Values.hotrod.service.name }}
    21        port: {{ .Values.hotrod.service.externalPort }}
    22        protocol: TCP
    23        targetPort: {{ .Values.hotrod.service.internalPort }}
    24    selector:
    25      app: {{ template "jaeger.name" . }}
    26      component: hotrod
    27      release: {{ .Release.Name }}
    28      jaeger-infra: hotrod-instance
    29  {{- template "loadBalancerSourceRanges" .Values.hotrod }}
    30  {{- end -}}