Skip to content

Commit 208f1b0

Browse files
author
Eren Özcan
committed
This commit introduces extraSecretMounts to jaeger-deploy.yaml, allowing users to mount external secrets (e.g., via Vault CSI) seamlessly. Fixes #735.
1 parent 1e11ae9 commit 208f1b0

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,13 @@ spec:
111111
mountPath: /etc/jaeger/ui-config.json
112112
subPath: ui-config.json
113113
{{- end }}
114+
{{- if .Values.jaeger.extraSecretMounts }}
115+
{{- range .Values.jaeger.extraSecretMounts }}
116+
- name: {{ .name }}
117+
mountPath: {{ .mountPath }}
118+
readOnly: {{ .readOnly }}
119+
{{- end }}
120+
{{- end }}
114121
securityContext:
115122
{{- toYaml .Values.jaeger.podSecurityContext | nindent 8 }}
116123
serviceAccountName: {{ template "jaeger.fullname" . }}
@@ -125,6 +132,13 @@ spec:
125132
configMap:
126133
name: ui-config
127134
{{- end }}
135+
{{- if .Values.jaeger.extraSecretMounts }}
136+
{{- range .Values.jaeger.extraSecretMounts }}
137+
- name: {{ .name }}
138+
csi:
139+
{{- toYaml .csi | nindent 12 }}
140+
{{- end }}
141+
{{- end }}
128142
{{- with .Values.jaeger.affinity }}
129143
affinity:
130144
{{- toYaml . | nindent 8 }}

charts/jaeger/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ jaeger:
168168
# value: "always_off"
169169
# command line arguments / CLI flags
170170
# See https://www.jaegertracing.io/docs/cli/
171+
extraSecretMounts: []
171172
args: []
172173
serviceAccount:
173174
annotations: {}

0 commit comments

Comments
 (0)