From 3bceffc188169e600c08473d09721f0e0de80420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Wieczorek?= Date: Tue, 25 Jun 2019 12:22:36 +0200 Subject: [PATCH] [stable/jaeger-operator] Add service definition for metrics endpoint (#14220) Signed-off-by: mwieczorek Signed-off-by: Andrii Nasinnyk --- stable/jaeger-operator/Chart.yaml | 2 +- stable/jaeger-operator/templates/service.yaml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 stable/jaeger-operator/templates/service.yaml diff --git a/stable/jaeger-operator/Chart.yaml b/stable/jaeger-operator/Chart.yaml index bc60d9dcda66..b7f222f3281e 100644 --- a/stable/jaeger-operator/Chart.yaml +++ b/stable/jaeger-operator/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: jaeger-operator Helm chart for Kubernetes name: jaeger-operator -version: 2.6.0 +version: 2.7.0 appVersion: 1.12.0 home: https://www.jaegertracing.io/ icon: https://www.jaegertracing.io/img/jaeger-icon-reverse-color.svg diff --git a/stable/jaeger-operator/templates/service.yaml b/stable/jaeger-operator/templates/service.yaml new file mode 100644 index 000000000000..4a261605b992 --- /dev/null +++ b/stable/jaeger-operator/templates/service.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "jaeger-operator.fullname" . }}-metrics + labels: +{{ include "jaeger-operator.labels" . | indent 4 }} +spec: + ports: + - name: metrics + port: 8383 + protocol: TCP + targetPort: 8383 + selector: + app.kubernetes.io/name: {{ include "jaeger-operator.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} + type: ClusterIP