Skip to content

Commit

Permalink
adding optional initContainers for Jaeger ingester and query deployments
Browse files Browse the repository at this point in the history
adding optional initcontainers for jaeger query and ingester deployments

Signed-off-by: Ninad Shelke <ninad@opsverse.io>

updating chart version to 0.73.2

Signed-off-by: Ninad Shelke <ninad@opsverse.io>
  • Loading branch information
ninad-opsverse committed Jan 22, 2024
1 parent e838d5b commit fd4cacd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/jaeger/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 1.51.0
description: A Jaeger Helm chart for Kubernetes
name: jaeger
type: application
version: 0.73.1
version: 0.73.2
# CronJobs require v1.21
kubeVersion: ">= 1.21-0"
keywords:
Expand Down
4 changes: 4 additions & 0 deletions charts/jaeger/templates/ingester-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.ingester.initContainers }}
initContainers:
{{- toYaml .Values.ingester.initContainers | nindent 8 }}
{{- end}}
containers:
- name: {{ include "jaeger.fullname" . }}-ingester
securityContext:
Expand Down
4 changes: 4 additions & 0 deletions charts/jaeger/templates/query-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.query.initContainers }}
initContainers:
{{- toYaml .Values.query.initContainers | nindent 8 }}
{{- end}}
containers:
- name: {{ template "jaeger.query.name" . }}
securityContext:
Expand Down
2 changes: 2 additions & 0 deletions charts/jaeger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ ingester:
extraConfigmapMounts: []
extraEnv: []
envFrom: []
initContainers: []

serviceMonitor:
enabled: false
Expand Down Expand Up @@ -533,6 +534,7 @@ collector:
query:
enabled: true
basePath: /
initContainers: []
oAuthSidecar:
enabled: false
resources:
Expand Down

0 comments on commit fd4cacd

Please sign in to comment.