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

     1  {{- if .Values.agent.enabled -}}
     2  apiVersion: v1
     3  kind: Service
     4  metadata:
     5    name: {{ template "jaeger.agent.name" . }}
     6    labels:
     7      app: {{ template "jaeger.name" . }}
     8      jaeger-infra: agent-service
     9      chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
    10      component: agent
    11      heritage: {{ .Release.Service }}
    12      release: {{ .Release.Name }}
    13  {{- if .Values.agent.service.annotations }}
    14    annotations:
    15  {{ toYaml .Values.agent.service.annotations | indent 4 }}
    16  {{- end }}
    17  spec:
    18    ports:
    19    - name: agent-zipkin-thrift
    20      port: {{ .Values.agent.service.zipkinThriftPort }}
    21      protocol: UDP
    22      targetPort: {{ .Values.agent.service.zipkinThriftPort }}
    23    - name: agent-compact
    24      port: {{ .Values.agent.service.compactPort }}
    25      protocol: UDP
    26      targetPort: {{ .Values.agent.service.compactPort }}
    27    - name: agent-binary
    28      port: {{ .Values.agent.service.binaryPort }}
    29      protocol: UDP
    30      targetPort: {{ .Values.agent.service.binaryPort }}
    31    - name: agent-sampling
    32      port: {{ .Values.agent.service.samplingPort }}
    33      protocol: TCP
    34      targetPort: {{ .Values.agent.service.samplingPort }}
    35    type: {{ .Values.agent.service.type }}
    36    selector:
    37      app: {{ template "jaeger.name" . }}
    38      component: agent
    39      release: {{ .Release.Name }}
    40      jaeger-infra: agent-instance
    41  {{- template "loadBalancerSourceRanges" .Values.agent }}
    42  {{- end -}}