Skip to content

Commit 83d2d01

Browse files
authored
[jaeger] Add the ability to set labels and annotations on the services (#707)
#### What this PR does This adds new values so that a user can pass additional labels and annotations to the Services for query,agent and collector. #### Checklist - [x] [DCO](https://github.com/jaegertracing/helm-charts/blob/main/CONTRIBUTING.md#sign-off-your-work) signed - [x] Commits are [GPG signed](https://docs.github.com/en/github/authenticating-to-github/about-commit-signature-verification) - [x] Chart Version bumped - [x] Title of the PR starts with chart name (`[jaeger]` or `[jaeger-operator]`) - [ ] README.md has been updated to match version/contain new values Signed-off-by: Drew Hudson-Viles <drew@hudson-viles.uk>
1 parent 2912beb commit 83d2d01

3 files changed

Lines changed: 6 additions & 1 deletion

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.13.0
33
description: A Jaeger Helm chart for Kubernetes
44
name: jaeger
55
type: application
6-
version: 4.2.2
6+
version: 4.2.3
77
# CronJobs require v1.21
88
kubeVersion: ">= 1.21-0"
99
keywords:

charts/jaeger/templates/service.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ metadata:
55
labels:
66
{{- include "jaeger.labels" . | nindent 4 }}
77
app.kubernetes.io/component: all-in-one
8+
{{- if .Values.jaeger.service.labels }}
9+
{{- toYaml .Values.jaeger.service.labels | nindent 4 }}
10+
{{- end }}
811
{{- if .Values.jaeger.service.annotations }}
912
annotations:
1013
{{- toYaml .Values.jaeger.service.annotations | nindent 4 }}

charts/jaeger/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ jaeger:
129129
annotations: {}
130130
automountServiceAccountToken: true
131131
service:
132+
# labels: {}
133+
# annotations: {}
132134
headless: true
133135
collector:
134136
otlp:

0 commit comments

Comments
 (0)