Skip to content

Commit

Permalink
fixed elasticsearch.tls for es-rollover-hook.yml (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
obervinov committed Nov 20, 2023
1 parent 21f1f4c commit c5707b4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/jaeger/Chart.yaml
Expand Up @@ -3,7 +3,7 @@ appVersion: 1.51.0
description: A Jaeger Helm chart for Kubernetes
name: jaeger
type: application
version: 0.72.0
version: 0.72.1
# CronJobs require v1.21
kubeVersion: ">= 1.21-0"
keywords:
Expand Down
11 changes: 11 additions & 0 deletions charts/jaeger/templates/es-rollover-hook.yml
Expand Up @@ -76,6 +76,12 @@ spec:
subPath: {{ .subPath }}
readOnly: {{ .readOnly }}
{{- end }}
{{- if .Values.storage.elasticsearch.tls.enabled }}
- name: {{ .Values.storage.elasticsearch.tls.secretName }}
mountPath: {{ .Values.storage.elasticsearch.tls.mountPath }}
subPath: {{ .Values.storage.elasticsearch.tls.subPath }}
readOnly: true
{{- end }}
volumes:
{{- range .Values.esRollover.extraConfigmapMounts }}
- name: {{ .name }}
Expand All @@ -87,4 +93,9 @@ spec:
secret:
secretName: {{ .secretName }}
{{- end }}
{{- if .Values.storage.elasticsearch.tls.enabled }}
- name: {{ .Values.storage.elasticsearch.tls.secretName }}
secret:
secretName: {{ .Values.storage.elasticsearch.tls.secretName }}
{{- end }}
{{- end -}}

0 comments on commit c5707b4

Please sign in to comment.