Skip to content

Commit dead670

Browse files
Use subPath for mounting user and ui configs
Signed-off-by: Lukas Stankovičius <lukas.stankovicius@gmail.com>
1 parent ca467f4 commit dead670

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

charts/jaeger/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ appVersion: 2.14.1
33
description: A Jaeger Helm chart for Kubernetes
44
name: jaeger
55
type: application
6-
version: 4.4.0
6+
version: 4.4.1
77
# CronJobs require v1.21
88
kubeVersion: ">= 1.21-0"
99
keywords:

charts/jaeger/templates/jaeger/jaeger-deploy.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,13 @@ spec:
9595
volumeMounts:
9696
{{- if .Values.userconfig }}
9797
- name: user-config
98-
mountPath: /etc/jaeger/user-config
98+
mountPath: /etc/jaeger/user-config.yaml
99+
subPath: user-config.yaml
99100
{{- end }}
100101
{{- if .Values.uiconfig }}
101102
- name: ui-config
102-
mountPath: /etc/jaeger/ui-config
103+
mountPath: /etc/jaeger/ui-config.json
104+
subPath: ui-config.json
103105
{{- end }}
104106
securityContext:
105107
{{- toYaml .Values.jaeger.podSecurityContext | nindent 8 }}

0 commit comments

Comments
 (0)