From 21bbdaced68a9af90a6ea1c18b332fda49f527d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=20Sanju=C3=A1n?= Date: Tue, 3 Aug 2021 11:53:18 +0200 Subject: [PATCH] Set fixed port name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fran Sanjuán --- deploy/charts/cert-manager/templates/service.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/charts/cert-manager/templates/service.yaml b/deploy/charts/cert-manager/templates/service.yaml index 9c0a1adce..754902220 100644 --- a/deploy/charts/cert-manager/templates/service.yaml +++ b/deploy/charts/cert-manager/templates/service.yaml @@ -19,6 +19,7 @@ spec: ports: - protocol: TCP port: 9402 + name: tcp-prometheus-servicemonitor targetPort: {{ .Values.prometheus.servicemonitor.targetPort }} selector: app.kubernetes.io/name: {{ include "cert-manager.name" . }}