Skip to content

Commit

Permalink
Helm chart tracing variable fix (#621)
Browse files Browse the repository at this point in the history
* loki chart deployment.yaml: Only set JAEGER_AGENT_HOST if set.

* docs/troubleshooting.md: Fixed variable name for chart option.

* Bumped loki chart version for variable fix.
  • Loading branch information
jpds authored and cyriltovena committed May 29, 2019
1 parent 3ff62d7 commit e58b1db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ We support (jaeger)[https://www.jaegertracing.io/] to trace loki, just add env `
If you deploy with helm, refer to following command:

```bash
$ helm upgrade --install loki loki/loki --set "loki.jaegerAgentHost=YOUR_JAEGER_AGENT_HOST"
$ helm upgrade --install loki loki/loki --set "loki.tracing.jaegerAgentHost=YOUR_JAEGER_AGENT_HOST"
```
2 changes: 1 addition & 1 deletion production/helm/loki/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: loki
version: 0.8.4
version: 0.8.5
appVersion: 0.0.1
kubeVersion: "^1.10.0-0"
description: "Loki: like Prometheus, but for logs."
Expand Down
2 changes: 2 additions & 0 deletions production/helm/loki/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ spec:
securityContext:
readOnlyRootFilesystem: true
env:
{{- if .Values.tracing.jaegerAgentHost }}
- name: JAEGER_AGENT_HOST
value: "{{ .Values.tracing.jaegerAgentHost }}"
{{- end }}
nodeSelector:
{{- toYaml .Values.nodeSelector | nindent 8 }}
affinity:
Expand Down

0 comments on commit e58b1db

Please sign in to comment.