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

     1  {{- if .Values.hotrod.enabled -}}
     2  apiVersion: extensions/v1beta1
     3  kind: Deployment
     4  metadata:
     5    name: {{ template "jaeger.fullname" . }}-hotrod
     6    labels:
     7      app: {{ template "jaeger.name" . }}
     8      jaeger-infra: hotrod-deployment
     9      chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
    10      component: hotrod
    11      release: {{ .Release.Name }}
    12      heritage: {{ .Release.Service }}
    13  spec:
    14    replicas: {{ .Values.hotrod.replicaCount }}
    15    template:
    16      metadata:
    17        labels:
    18          app: {{ template "jaeger.name" . }}
    19          component: hotrod
    20          release: {{ .Release.Name }}
    21          jaeger-infra: hotrod-instance
    22      spec:
    23        containers:
    24          - name: {{ template "jaeger.fullname" . }}-hotrod
    25            image: {{ .Values.hotrod.image.repository }}:{{ .Values.hotrod.image.tag }}
    26            imagePullPolicy: {{ .Values.hotrod.image.pullPolicy }}
    27            env:
    28              - name: JAEGER_AGENT_HOST_PORT
    29                valueFrom:
    30                  configMapKeyRef:
    31                    name: {{ template "jaeger.fullname" . }}
    32                    key: hotrod.agent-host-port
    33            ports:
    34              - containerPort: {{ .Values.hotrod.service.internalPort }}
    35            livenessProbe:
    36              httpGet:
    37                path: /
    38                port: {{ .Values.hotrod.service.internalPort }}
    39            readinessProbe:
    40              httpGet:
    41                path: /
    42                port: {{ .Values.hotrod.service.internalPort }}
    43            resources:
    44  {{ toYaml .Values.hotrod.resources | indent 12 }}
    45      {{- if .Values.hotrod.nodeSelector }}
    46        nodeSelector:
    47  {{ toYaml .Values.hotrod.nodeSelector | indent 8 }}
    48      {{- end }}
    49  {{- end }}