mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[incubator/jaeger] fix hotrod demo application (#10175)
* [incubator/jaeger] fix hotrod demo application Signed-off-by: Sébastien Prud'homme <sebastien.prudhomme@gmail.com> * [incubator/jaeger} bump version Signed-off-by: Sébastien Prud'homme <sebastien.prudhomme@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
04d991c68e
commit
e2217a8fb0
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: 1.8.2
|
||||
description: A Jaeger Helm chart for Kubernetes
|
||||
name: jaeger
|
||||
version: 0.8.1
|
||||
version: 0.8.2
|
||||
keywords:
|
||||
- jaeger
|
||||
- opentracing
|
||||
|
||||
@@ -130,8 +130,7 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
|
||||
{{- end -}}
|
||||
|
||||
{{- define "jaeger.hotrod.tracing.host" -}}
|
||||
{{- $host := printf "%s-agent" (include "jaeger.agent.name" .) -}}
|
||||
{{- default $host .Values.hotrod.tracing.host -}}
|
||||
{{- default (include "jaeger.agent.name" .) .Values.hotrod.tracing.host -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
|
||||
@@ -23,7 +23,8 @@ data:
|
||||
es.server-urls: {{ template "elasticsearch.client.url" . }}
|
||||
es.username: {{ .Values.storage.elasticsearch.user }}
|
||||
es.nodes-wan-only: {{ .Values.storage.elasticsearch.nodesWanOnly | quote }}
|
||||
hotrod.agent-host-port: "{{ template "jaeger.hotrod.tracing.host" . }}:{{ .Values.hotrod.tracing.port }}"
|
||||
hotrod.agent-host: {{ template "jaeger.hotrod.tracing.host" . }}
|
||||
hotrod.agent-port: {{ .Values.hotrod.tracing.port | quote }}
|
||||
span-storage.type: {{ .Values.storage.type | quote }}
|
||||
query.health-check-http-port: {{ .Values.query.healthCheckPort | quote }}
|
||||
query.port: {{ .Values.query.service.targetPort | quote }}
|
||||
|
||||
@@ -25,11 +25,16 @@ spec:
|
||||
image: {{ .Values.hotrod.image.repository }}:{{ .Values.hotrod.image.tag }}
|
||||
imagePullPolicy: {{ .Values.hotrod.image.pullPolicy }}
|
||||
env:
|
||||
- name: JAEGER_AGENT_HOST_PORT
|
||||
- name: JAEGER_AGENT_HOST
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: {{ template "jaeger.fullname" . }}
|
||||
key: hotrod.agent-host-port
|
||||
key: hotrod.agent-host
|
||||
- name: JAEGER_AGENT_PORT
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: {{ template "jaeger.fullname" . }}
|
||||
key: hotrod.agent-port
|
||||
ports:
|
||||
- containerPort: {{ .Values.hotrod.service.internalPort }}
|
||||
livenessProbe:
|
||||
|
||||
Reference in New Issue
Block a user