Skip to content

Commit 859e5bc

Browse files
committed
[jaeger] Move the annotations for prometheus from hard-coded to the initial values setup
1 parent 49975a6 commit 859e5bc

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ spec:
3131
{{- toYaml .Values.jaeger.podLabels | nindent 8 }}
3232
{{- end }}
3333
annotations:
34-
prometheus.io/port: "8888"
35-
prometheus.io/scrape: "true"
3634
{{- if .Values.jaeger.podAnnotations }}
3735
{{- toYaml .Values.jaeger.podAnnotations | nindent 8 }}
3836
{{- end }}

charts/jaeger/values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,9 @@ jaeger:
212212
tolerations: []
213213
affinity: {}
214214
topologySpreadContraints: []
215-
podAnnotations: {}
215+
podAnnotations:
216+
prometheus.io/port: "8888"
217+
prometheus.io/scrape: "true"
216218
podSecurityContext:
217219
runAsUser: 10001
218220
runAsGroup: 10001

0 commit comments

Comments
 (0)